summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/sem_trywait.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sem_trywait.c')
-rw-r--r--nuttx/sched/sem_trywait.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/sched/sem_trywait.c b/nuttx/sched/sem_trywait.c
index 70b23cc4e2..03c1ea0626 100644
--- a/nuttx/sched/sem_trywait.c
+++ b/nuttx/sched/sem_trywait.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/sem_trywait.c
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -37,11 +37,13 @@
* Included Files
****************************************************************************/
-#include <sys/types.h>
+#include <nuttx/config.h>
+
#include <semaphore.h>
#include <sched.h>
#include <errno.h>
#include <nuttx/arch.h>
+
#include "os_internal.h"
#include "sem_internal.h"