From 1e3305959e67cc9ad0b794369be9cc3a182b2926 Mon Sep 17 00:00:00 2001 From: Mikael Falkvidd Date: Fri, 17 Nov 2017 21:16:01 +0100 Subject: [PATCH] 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 --- drivers/BCM/bcm2835.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/BCM/bcm2835.c b/drivers/BCM/bcm2835.c index ad5a283..efb8c0b 100644 --- a/drivers/BCM/bcm2835.c +++ b/drivers/BCM/bcm2835.c @@ -20,6 +20,7 @@ #include #include #include +#include // For PRIu64 #include "log.h" #define BCK2835_LIBRARY_BUILD