From 3fd4a25d0188d45b9ff6bfb7c97309210685d11c Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 17 Dec 2009 22:39:59 +0000 Subject: [PATCH] M16C build with stdint.h git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2379 42af7a65-404d-4744-a932-0658087f49c3 --- arch/sh/include/m16c/irq.h | 4 +++- arch/sh/src/common/up_doirq.c | 2 +- configs/skp16c26/ostest/defconfig | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/sh/include/m16c/irq.h b/arch/sh/include/m16c/irq.h index ad7e43ad93..8809d06e61 100644 --- a/arch/sh/include/m16c/irq.h +++ b/arch/sh/include/m16c/irq.h @@ -45,7 +45,9 @@ ************************************************************************************/ #include -#include +#ifndef __ASSEMBLY__ +# include +#endif /************************************************************************************ * Definitions diff --git a/arch/sh/src/common/up_doirq.c b/arch/sh/src/common/up_doirq.c index 33d33a0526..6e64a623cc 100644 --- a/arch/sh/src/common/up_doirq.c +++ b/arch/sh/src/common/up_doirq.c @@ -39,7 +39,7 @@ #include -#include +#include #include #include diff --git a/configs/skp16c26/ostest/defconfig b/configs/skp16c26/ostest/defconfig index 50dfc1e7ce..4baa36c967 100644 --- a/configs/skp16c26/ostest/defconfig +++ b/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