summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/pthread_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_cancel.c')
-rw-r--r--nuttx/sched/pthread_cancel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/sched/pthread_cancel.c b/nuttx/sched/pthread_cancel.c
index 8b8c36c991..ac28bb85a3 100644
--- a/nuttx/sched/pthread_cancel.c
+++ b/nuttx/sched/pthread_cancel.c
@@ -37,9 +37,13 @@
* Included Files
**************************************************************************/
+#include <nuttx/config.h>
+
+#include <sys/types.h>
#include <unistd.h>
#include <pthread.h>
#include <errno.h>
+
#include "os_internal.h"
#include "pthread_internal.h"