summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-17 22:39:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-17 22:39:59 +0000
commitb52068f8d577a004a18a348ee39938fd2a888a2b (patch)
tree109ea5417767fc9d7945f085a97f4c80a733dd7f
parent0e357f9d7c74424bdb807056e56ea9c1161c99f8 (diff)
downloadpx4-nuttx-b52068f8d577a004a18a348ee39938fd2a888a2b.tar.gz
px4-nuttx-b52068f8d577a004a18a348ee39938fd2a888a2b.tar.bz2
px4-nuttx-b52068f8d577a004a18a348ee39938fd2a888a2b.zip
M16C build with stdint.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2379 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/arch/sh/include/m16c/irq.h4
-rw-r--r--nuttx/arch/sh/src/common/up_doirq.c2
-rw-r--r--nuttx/configs/skp16c26/ostest/defconfig2
3 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/arch/sh/include/m16c/irq.h b/nuttx/arch/sh/include/m16c/irq.h
index ad7e43ad9..8809d06e6 100644
--- a/nuttx/arch/sh/include/m16c/irq.h
+++ b/nuttx/arch/sh/include/m16c/irq.h
@@ -45,7 +45,9 @@
************************************************************************************/
#include <nuttx/config.h>
-#include <stdint.h>
+#ifndef __ASSEMBLY__
+# include <stdint.h>
+#endif
/************************************************************************************
* Definitions
diff --git a/nuttx/arch/sh/src/common/up_doirq.c b/nuttx/arch/sh/src/common/up_doirq.c
index 33d33a052..6e64a623c 100644
--- a/nuttx/arch/sh/src/common/up_doirq.c
+++ b/nuttx/arch/sh/src/common/up_doirq.c
@@ -39,7 +39,7 @@
#include <nuttx/config.h>
-#include <stdin.h>
+#include <stdint.h>
#include <assert.h>
#include <nuttx/irq.h>
diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig
index 50dfc1e7c..4baa36c96 100644
--- a/nuttx/configs/skp16c26/ostest/defconfig
+++ b/nuttx/configs/skp16c26/ostest/defconfig
@@ -254,7 +254,7 @@ CONFIG_DISABLE_CLOCK=n
CONFIG_DISABLE_POSIX_TIMERS=n
CONFIG_DISABLE_PTHREAD=n
CONFIG_DISABLE_SIGNALS=n
-CONFIG_DISABLE_MQUEUE=n
+CONFIG_DISABLE_MQUEUE=y
CONFIG_DISABLE_MOUNTPOINT=y
CONFIG_DISABLE_ENVIRON=y
CONFIG_DISABLE_POLL=y