Skip to content

Commit 1e33059

Browse files
mfalkviddfallberg
authored andcommitted
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 #955 but was insufficient for remediating this problem) The compile problem was inadvertently introduced in 2d5404d. This change fixes the problem discussed in #980
1 parent 356b783 commit 1e33059

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/BCM/bcm2835.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <time.h>
2121
#include <unistd.h>
2222
#include <sys/types.h>
23+
#include <inttypes.h> // For PRIu64
2324
#include "log.h"
2425

2526
#define BCK2835_LIBRARY_BUILD

0 commit comments

Comments
 (0)