summaryrefslogtreecommitdiff
path: root/nuttx/arch/hc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-21 15:12:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-21 15:12:13 +0000
commitf1e8acbd068e58c217f87e08f0158f59670a67ff (patch)
tree34dfe45723998e126cc1e4dd256a04bce0bdd4a1 /nuttx/arch/hc
parent68bcccf8eb5b13571a475c4047d4d27006ea408e (diff)
downloadpx4-nuttx-f1e8acbd068e58c217f87e08f0158f59670a67ff.tar.gz
px4-nuttx-f1e8acbd068e58c217f87e08f0158f59670a67ff.tar.bz2
px4-nuttx-f1e8acbd068e58c217f87e08f0158f59670a67ff.zip
For fixes for stdint/stdbool build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2402 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/hc')
-rwxr-xr-xnuttx/arch/hc/src/common/up_internal.h6
-rwxr-xr-xnuttx/arch/hc/src/mc9s12ne64/mc9s12ne64_internal.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/arch/hc/src/common/up_internal.h b/nuttx/arch/hc/src/common/up_internal.h
index fe7cac257..1e79e743c 100755
--- a/nuttx/arch/hc/src/common/up_internal.h
+++ b/nuttx/arch/hc/src/common/up_internal.h
@@ -41,8 +41,10 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <stdint.h>
-
+#ifndef __ASSEMBLY__
+# include <stdint.h>
+#endif
+
/****************************************************************************
* Definitions
****************************************************************************/
diff --git a/nuttx/arch/hc/src/mc9s12ne64/mc9s12ne64_internal.h b/nuttx/arch/hc/src/mc9s12ne64/mc9s12ne64_internal.h
index fb8f2662a..550580bda 100755
--- a/nuttx/arch/hc/src/mc9s12ne64/mc9s12ne64_internal.h
+++ b/nuttx/arch/hc/src/mc9s12ne64/mc9s12ne64_internal.h
@@ -42,8 +42,10 @@
#include <nuttx/config.h>
-#include <stdint.h>
-#include <stdbool.h>
+#ifndef __ASSEMBLY__
+# include <stdint.h>
+# include <stdbool.h>
+#endif
#include "up_internal.h"
#include "chip.h"