diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-04 21:02:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-04 21:02:15 +0000 |
commit | f83c9b840d045664f99114a3c71bbdab5744367c (patch) | |
tree | 3602ca8c7183758518ccac50565e03c50a0cbec0 /nuttx/include | |
parent | 07bac0e795ae446d6a2f1e9ab3da5d9f7cdfef0a (diff) | |
download | px4-nuttx-f83c9b840d045664f99114a3c71bbdab5744367c.tar.gz px4-nuttx-f83c9b840d045664f99114a3c71bbdab5744367c.tar.bz2 px4-nuttx-f83c9b840d045664f99114a3c71bbdab5744367c.zip |
Fix a couple of recently introduced build problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3463 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/pthread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/pthread.h b/nuttx/include/nuttx/pthread.h index 449c189cb..8165f1b84 100644 --- a/nuttx/include/nuttx/pthread.h +++ b/nuttx/include/nuttx/pthread.h @@ -43,6 +43,7 @@ #include <nuttx/config.h> #include <pthread.h> +#include <sched.h> /**************************************************************************** * Pre-Processor Definitions @@ -62,7 +63,9 @@ * Public Data ****************************************************************************/ -/* Default pthread attributes (see sched/pthread_create.c) */ +/* Default pthread attributes (see sched/pthread_create.c). This global + * can only be shared within the kernel- or within the user- address space. + */ extern pthread_attr_t g_default_pthread_attr; |