Skip to content

Commit 75b178f

Browse files
committed
tests/si1133: add missing stdbool.h include
Fix compilation error on native platform where bool type is used but stdbool.h is not explicitly included. On many platforms (ARM, AVR, etc.), stdbool.h is indirectly included via CPU headers, but on native this is not the case. Signed-off-by: Gilles DOFFE <[email protected]>
1 parent ecc8bda commit 75b178f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/drivers/si1133/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020

2121
#include <stdio.h>
22+
#include <stdbool.h>
2223
#include <inttypes.h>
2324

2425
#include "kernel_defines.h"

0 commit comments

Comments
 (0)