diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-05 15:28:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-05 15:28:21 +0000 |
commit | 76b6fd0cbac5ce2db25642410971f166877624bf (patch) | |
tree | 733ff622b1ee01883ba4cefab0c91474538e4b1d | |
parent | ca201c9b6ae33319d157ab0f32f48cb64465d60e (diff) |
minor changes so it would compile in a cross environment
-rw-r--r-- | c/src/exec/score/tools/hppa1.1/genoffsets.c | 2 | ||||
-rw-r--r-- | tools/cpu/hppa1.1/genoffsets.c | 2 |
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 ); |