BCM driver: include inttypes (#983)
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
https://github.com/mysensors/MySensors/issues/955 but was
insufficient for remediating this problem)
The compile problem was inadvertently introduced in
2d5404de9.
This change fixes the problem discussed in
https://github.com/mysensors/MySensors/issues/980
This commit is contained in:
committed by
Patrick Fallberg
parent
356b783e19
commit
1e3305959e
@@ -20,6 +20,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h> // For PRIu64
|
||||
#include "log.h"
|
||||
|
||||
#define BCK2835_LIBRARY_BUILD
|
||||
|
||||
Reference in New Issue
Block a user