summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/score/tools/hppa1.1/genoffsets.c2
-rw-r--r--tools/cpu/hppa1.1/genoffsets.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/score/tools/hppa1.1/genoffsets.c b/c/src/exec/score/tools/hppa1.1/genoffsets.c
index 3bec8e954b..578259e83d 100644
--- a/c/src/exec/score/tools/hppa1.1/genoffsets.c
+++ b/c/src/exec/score/tools/hppa1.1/genoffsets.c
@@ -22,7 +22,9 @@
#include <stdio.h>
+#if defined(__hpux__) && defined(__hppa__)
#include <rtems/system.h>
+#endif
void print_information( void );
diff --git a/tools/cpu/hppa1.1/genoffsets.c b/tools/cpu/hppa1.1/genoffsets.c
index 3bec8e954b..578259e83d 100644
--- a/tools/cpu/hppa1.1/genoffsets.c
+++ b/tools/cpu/hppa1.1/genoffsets.c
@@ -22,7 +22,9 @@
#include <stdio.h>
+#if defined(__hpux__) && defined(__hppa__)
#include <rtems/system.h>
+#endif
void print_information( void );