aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-05-08 21:07:40 +0000
committerSteve Chamberlain <sac@cygnus>1992-05-08 21:07:40 +0000
commitcb467682ed27de139f5a3945ca2ec28e6d05a819 (patch)
tree3c319a546a9ca9d18f73deaf622c57dde8782d80 /bfd/hosts
parent9dba22c62599c26cd24de4d92f122ca24461555d (diff)
downloadgdb-cb467682ed27de139f5a3945ca2ec28e6d05a819.zip
gdb-cb467682ed27de139f5a3945ca2ec28e6d05a819.tar.gz
gdb-cb467682ed27de139f5a3945ca2ec28e6d05a819.tar.bz2
Compile with acc
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/sparc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h
index a604c8f..e03a094 100644
--- a/bfd/hosts/sparc.h
+++ b/bfd/hosts/sparc.h
@@ -11,7 +11,10 @@
#endif
#define SEEK_SET 0
#define SEEK_CUR 1
-
+#ifdef __STDC__
+#include <stdlib.h>
+#include <string.h>
+#else
extern char *EXFUN(mktemp,(CONST char*));
extern int EXFUN(fflush,(FILE *));
extern int EXFUN(write,(int, CONST char *, int));
@@ -75,7 +78,7 @@ extern long atol();
extern char *getenv();
extern int fputc();
extern int unlink();
-
+#endif /* __STDC__ */
/* EXACT TYPES */
typedef char int8e_type;