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 6e15af3 graphics/twm4nx: Fix error: 'sleep' was not declared in this
scope
6e15af3 is described below
commit 6e15af37861625230612dc515cc748910277890a
Author: Xiang Xiao <[email protected]>
AuthorDate: Sun May 23 19:23:02 2021 +0800
graphics/twm4nx: Fix error: 'sleep' was not declared in this scope
Signed-off-by: Xiang Xiao <[email protected]>
---
graphics/twm4nx/apps/cclock.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/graphics/twm4nx/apps/cclock.cxx b/graphics/twm4nx/apps/cclock.cxx
index acbd716..2cb4518 100644
--- a/graphics/twm4nx/apps/cclock.cxx
+++ b/graphics/twm4nx/apps/cclock.cxx
@@ -44,6 +44,7 @@
#include <cstring>
#include <csched>
#include <cassert>
+#include <cunistd>
#include <semaphore.h>
#include <debug.h>