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:
Mikael Falkvidd
2017-11-17 21:16:01 +01:00
committed by Patrick Fallberg
parent 356b783e19
commit 1e3305959e
+1
View File
@@ -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