summaryrefslogtreecommitdiff
path: root/nuttx/lib/semaphore/sem_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/semaphore/sem_init.c')
-rw-r--r--nuttx/lib/semaphore/sem_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/lib/semaphore/sem_init.c b/nuttx/lib/semaphore/sem_init.c
index c75281bf0..f4c9a0d8b 100644
--- a/nuttx/lib/semaphore/sem_init.c
+++ b/nuttx/lib/semaphore/sem_init.c
@@ -39,6 +39,7 @@
#include <nuttx/config.h>
+#include <sys/types.h>
#include <limits.h>
#include <semaphore.h>
#include <errno.h>