summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/cpu/sh/ChangeLog4
-rw-r--r--cpukit/score/cpu/sh/context.c4
-rw-r--r--cpukit/score/cpu/sh/cpu.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog
index 45982b36fe..64b67f127f 100644
--- a/cpukit/score/cpu/sh/ChangeLog
+++ b/cpukit/score/cpu/sh/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * context.c, cpu.c: Add include of config.h
+
2009-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/sh.h: SH2E and SH3E have a DSP rather than an FPU. They
diff --git a/cpukit/score/cpu/sh/context.c b/cpukit/score/cpu/sh/context.c
index 2626642fc0..87ab81e46a 100644
--- a/cpukit/score/cpu/sh/context.c
+++ b/cpukit/score/cpu/sh/context.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/cpu.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index d93ea5635f..78d0700eee 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -22,6 +22,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/sh_io.h>