This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new d6d458c Include assert.h in necessary place
d6d458c is described below
commit d6d458c60be20d1cc4954552f66989330d63a0ee
Author: Xiang Xiao <[email protected]>
AuthorDate: Tue Jun 1 12:37:18 2021 +0800
Include assert.h in necessary place
Signed-off-by: Xiang Xiao <[email protected]>
---
examples/chat/chat_main.c | 1 +
examples/nxterm/nxterm_main.c | 1 +
graphics/pdcurs34/nuttx/pdcdisp.c | 1 +
graphics/pdcurs34/nuttx/pdcgetsc.c | 2 ++
graphics/pdcurs34/nuttx/pdckbd.c | 1 +
netutils/chat/chat.c | 1 +
netutils/thttpd/thttpd_cgi.c | 1 +
7 files changed, 8 insertions(+)
diff --git a/examples/chat/chat_main.c b/examples/chat/chat_main.c
index f665104..18d1766 100644
--- a/examples/chat/chat_main.c
+++ b/examples/chat/chat_main.c
@@ -43,6 +43,7 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <assert.h>
#include <debug.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/examples/nxterm/nxterm_main.c b/examples/nxterm/nxterm_main.c
index 8c96787..3b3ac72 100644
--- a/examples/nxterm/nxterm_main.c
+++ b/examples/nxterm/nxterm_main.c
@@ -34,6 +34,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>
diff --git a/graphics/pdcurs34/nuttx/pdcdisp.c
b/graphics/pdcurs34/nuttx/pdcdisp.c
index d711bd6..d35dbb7 100644
--- a/graphics/pdcurs34/nuttx/pdcdisp.c
+++ b/graphics/pdcurs34/nuttx/pdcdisp.c
@@ -38,6 +38,7 @@
****************************************************************************/
#include <sys/ioctl.h>
+#include <assert.h>
#include <errno.h>
#ifdef CONFIG_SYSTEM_TERMCURSES
diff --git a/graphics/pdcurs34/nuttx/pdcgetsc.c
b/graphics/pdcurs34/nuttx/pdcgetsc.c
index ebe58ff..ff2313b 100644
--- a/graphics/pdcurs34/nuttx/pdcgetsc.c
+++ b/graphics/pdcurs34/nuttx/pdcgetsc.c
@@ -42,6 +42,8 @@
#endif
#include <sys/ioctl.h>
+#include <assert.h>
+
#include "pdcnuttx.h"
/****************************************************************************
diff --git a/graphics/pdcurs34/nuttx/pdckbd.c b/graphics/pdcurs34/nuttx/pdckbd.c
index acfcabc..c2e889c 100644
--- a/graphics/pdcurs34/nuttx/pdckbd.c
+++ b/graphics/pdcurs34/nuttx/pdckbd.c
@@ -45,6 +45,7 @@
#include <sys/types.h>
#include <sys/select.h>
#include <unistd.h>
+#include <assert.h>
#include "pdcnuttx.h"
diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c
index c13993d..dc63938 100644
--- a/netutils/chat/chat.c
+++ b/netutils/chat/chat.c
@@ -43,6 +43,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <assert.h>
#include <debug.h>
#include <errno.h>
#include <poll.h>
diff --git a/netutils/thttpd/thttpd_cgi.c b/netutils/thttpd/thttpd_cgi.c
index 816c014..7c6294a 100644
--- a/netutils/thttpd/thttpd_cgi.c
+++ b/netutils/thttpd/thttpd_cgi.c
@@ -51,6 +51,7 @@
#include <string.h>
#include <signal.h>
#include <libgen.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>