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-apps.git
commit 046e83bec9ad3de739f4f488620969c883d373e5 Author: chao an <anc...@xiaomi.com> AuthorDate: Wed Aug 31 22:52:57 2022 +0800 examples/usrsocktest: fix build break usrsocktest_wake_with_signal.c: In function ‘do_wake_test’: usrsocktest_wake_with_signal.c:553:16: error: ‘USEC_PER_MSEC’ undeclared (first use in this function) 553 | usleep(100 * USEC_PER_MSEC); /* Let worker thread proceed to blocking | ^~~~~~~~~~~~~ Signed-off-by: chao an <anc...@xiaomi.com> --- examples/usrsocktest/usrsocktest_wake_with_signal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/usrsocktest/usrsocktest_wake_with_signal.c b/examples/usrsocktest/usrsocktest_wake_with_signal.c index 438ed934d..7e49aa28a 100644 --- a/examples/usrsocktest/usrsocktest_wake_with_signal.c +++ b/examples/usrsocktest/usrsocktest_wake_with_signal.c @@ -29,6 +29,8 @@ #include <errno.h> #include <poll.h> +#include <nuttx/clock.h> + #include "defines.h" /****************************************************************************