You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/09/20 09:01:57 UTC
[incubator-nuttx] branch master updated: userleds: add missing
include (stdbool.h)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new beba105 userleds: add missing include (stdbool.h)
beba105 is described below
commit beba1056a8cef161ea3809bbb2177228b001aac8
Author: iceaway <pe...@windestam.se>
AuthorDate: Mon Sep 20 08:20:05 2021 +0200
userleds: add missing include (stdbool.h)
Would not compile without stdbool.h included (uses the bool type in
the header file)
---
include/nuttx/leds/userled.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/nuttx/leds/userled.h b/include/nuttx/leds/userled.h
index 9d0068b..d03f32f 100644
--- a/include/nuttx/leds/userled.h
+++ b/include/nuttx/leds/userled.h
@@ -28,6 +28,8 @@
#include <nuttx/config.h>
#include <nuttx/fs/ioctl.h>
+#include <stdbool.h>
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/