summaryrefslogtreecommitdiff
path: root/nuttx/include/pthread.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-21 20:09:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-21 20:09:32 +0000
commit1b917134adffafb33057be34683b5f73807aeca8 (patch)
treea548cfe35af25a0d7b7b3a8a304784c334aecdb6 /nuttx/include/pthread.h
parent2e885817755dbb96fa4183a312ea181b28bb70b1 (diff)
downloadpx4-nuttx-1b917134adffafb33057be34683b5f73807aeca8.tar.gz
px4-nuttx-1b917134adffafb33057be34683b5f73807aeca8.tar.bz2
px4-nuttx-1b917134adffafb33057be34683b5f73807aeca8.zip
Patches from Petteri Aimonen (plus a few other things)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5448 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/pthread.h')
-rw-r--r--nuttx/include/pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/pthread.h b/nuttx/include/pthread.h
index 5a08f13b6..5066275b4 100644
--- a/nuttx/include/pthread.h
+++ b/nuttx/include/pthread.h
@@ -41,15 +41,15 @@
********************************************************************************/
#include <nuttx/config.h> /* Default settings */
-#include <nuttx/compiler.h> /* Compiler settings */
+#include <nuttx/compiler.h> /* Compiler settings, noreturn_function */
#include <sys/types.h> /* Needed for general types */
#include <stdint.h> /* C99 fixed width integer types */
#include <stdbool.h> /* C99 boolean types */
+#include <unistd.h> /* For getpid */
#include <semaphore.h> /* Needed for sem_t */
#include <signal.h> /* Needed for sigset_t */
#include <time.h> /* Needed for struct timespec */
-#include <nuttx/compiler.h> /* For noreturn_function */
/********************************************************************************
* Compilation Switches