summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/sem_getvalue.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sem_getvalue.c')
-rw-r--r--nuttx/sched/sem_getvalue.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/sched/sem_getvalue.c b/nuttx/sched/sem_getvalue.c
index f320f92c06..4bed5ab3e3 100644
--- a/nuttx/sched/sem_getvalue.c
+++ b/nuttx/sched/sem_getvalue.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/sem_getvalue.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,8 +37,10 @@
* Included Files
****************************************************************************/
-#include <sys/types.h>
+#include <nuttx/config.h>
+
#include <semaphore.h>
+
#include "sem_internal.h"
/****************************************************************************