Skip to content

Commit 4de38f2

Browse files
committed
drivers/at24mac: 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, 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 75b178f commit 4de38f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/at24mac/at24mac.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
*/
2020

2121
#include <errno.h>
22+
#include <stdbool.h>
23+
2224
#include "kernel_defines.h"
2325

2426
#include "at24mac.h"

0 commit comments

Comments
 (0)