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 <anchao@xiaomi.com>
This commit is contained in:
parent
5b47bc24ae
commit
046e83bec9
@ -29,6 +29,8 @@
|
||||
#include <errno.h>
|
||||
#include <poll.h>
|
||||
|
||||
#include <nuttx/clock.h>
|
||||
|
||||
#include "defines.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user