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 39f900b48a..7f38148359 100644
--- a/c/src/exec/score/tools/hppa1.1/genoffsets.c
+++ b/c/src/exec/score/tools/hppa1.1/genoffsets.c
@@ -29,7 +29,9 @@ int main(
char **argv
)
{
+#if defined(__hpux__) && defined(__hppa__)
unsigned int size = 0;
+#endif
/*
* Print the file header
diff --git a/tools/cpu/hppa1.1/genoffsets.c b/tools/cpu/hppa1.1/genoffsets.c
index 39f900b48a..7f38148359 100644
--- a/tools/cpu/hppa1.1/genoffsets.c
+++ b/tools/cpu/hppa1.1/genoffsets.c
@@ -29,7 +29,9 @@ int main(
char **argv
)
{
+#if defined(__hpux__) && defined(__hppa__)
unsigned int size = 0;
+#endif
/*
* Print the file header