summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_getsockets.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-12-28 01:44:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-12-28 01:44:34 +0000
commitc52a6d1e1d227b3acc746f0f435214f663a5b3a8 (patch)
tree0030118c86fcf205aac85bbe39a007b6f7d7416b /nuttx/sched/sched_getsockets.c
parenta40203ddd0aa3e83c401aacbd2b3498651ee4129 (diff)
downloadpx4-nuttx-c52a6d1e1d227b3acc746f0f435214f663a5b3a8.tar.gz
px4-nuttx-c52a6d1e1d227b3acc746f0f435214f663a5b3a8.tar.bz2
px4-nuttx-c52a6d1e1d227b3acc746f0f435214f663a5b3a8.zip
Changes for SDCC compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@453 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_getsockets.c')
-rw-r--r--nuttx/sched/sched_getsockets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/sched_getsockets.c b/nuttx/sched/sched_getsockets.c
index c54c5f236..13c9b69b9 100644
--- a/nuttx/sched/sched_getsockets.c
+++ b/nuttx/sched/sched_getsockets.c
@@ -38,11 +38,12 @@
************************************************************/
#include <nuttx/config.h>
-#if CONFIG_NSOCKET_DESCRIPTORS > 0
#include <sched.h>
#include "os_internal.h"
+#if CONFIG_NSOCKET_DESCRIPTORS > 0
+
/************************************************************
* Private Functions
************************************************************/