diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-27 15:01:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-27 15:01:47 +0000 |
commit | 199041aa0e2fc18f0a09631685fb8fa247dcc2b0 (patch) | |
tree | 4e33b4e7082ada2411f1c322a87af93ab6b47eb7 | |
parent | 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-199041aa0e2fc18f0a09631685fb8fa247dcc2b0.tar.bz2 |
2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.S, sse_test.c: Add include of config.h
-rw-r--r-- | cpukit/score/cpu/i386/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/cpu.c | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/cpu_asm.S | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/sse_test.c | 7 |
4 files changed, 17 insertions, 2 deletions
diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog index 0fc2de21d5..276a9a428c 100644 --- a/cpukit/score/cpu/i386/ChangeLog +++ b/cpukit/score/cpu/i386/ChangeLog @@ -1,3 +1,7 @@ +2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> + + * cpu.c, cpu_asm.S, sse_test.c: Add include of config.h + 2009-11-09 Till Straumann <strauman@slac.stanford.edu> PR 1469/cpukit diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c index d5300e1006..0573c85256 100644 --- a/cpukit/score/cpu/i386/cpu.c +++ b/cpukit/score/cpu/i386/cpu.c @@ -12,6 +12,10 @@ * $Id$ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <rtems.h> #include <rtems/system.h> #include <rtems/score/types.h> diff --git a/cpukit/score/cpu/i386/cpu_asm.S b/cpukit/score/cpu/i386/cpu_asm.S index 20b9949a06..4c4a8d0f36 100644 --- a/cpukit/score/cpu/i386/cpu_asm.S +++ b/cpukit/score/cpu/i386/cpu_asm.S @@ -13,6 +13,10 @@ * $Id$ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <rtems/asm.h> #include <rtems/score/cpu.h> diff --git a/cpukit/score/cpu/i386/sse_test.c b/cpukit/score/cpu/i386/sse_test.c index e54b77830b..bcf6ea5bb2 100644 --- a/cpukit/score/cpu/i386/sse_test.c +++ b/cpukit/score/cpu/i386/sse_test.c @@ -92,13 +92,16 @@ * c) IRQ (software IRQ via 'INT xx' instruction) * */ -#ifdef __rtems__ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef __rtems__ #include <rtems.h> #include <rtems/score/cpu.h> #include <rtems/irq.h> #include <rtems/error.h> - #endif #include <inttypes.h> |