summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/sem_wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sem_wait.c')
-rw-r--r--nuttx/sched/sem_wait.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/sem_wait.c b/nuttx/sched/sem_wait.c
index 94622ae373..f723b72150 100644
--- a/nuttx/sched/sem_wait.c
+++ b/nuttx/sched/sem_wait.c
@@ -37,7 +37,8 @@
* Included Files
****************************************************************************/
-#include <sys/types.h>
+#include <nuttx/config.h>
+
#include <semaphore.h>
#include <errno.h>
#include <assert.h>