aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/hosts/sparc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h
index 41f8658..fd1c5e4 100644
--- a/bfd/hosts/sparc.h
+++ b/bfd/hosts/sparc.h
@@ -25,7 +25,14 @@ extern PROTO(void, bcopy,(char*,char*,int));
extern PROTO(int, bcmp,(char *, char *, int));
extern PROTO(void, bzero,(char *, int));
extern PROTO(PTR,memset,(PTR, int,unsigned int));
+#ifndef __GNUC__
PROTO(PTR, memcpy,(PTR,CONST PTR,unsigned int));
+#else
+PROTO(char *, memcpy,(char *,CONST char *,unsigned int));
+#endif
+
+extern PROTO(int,getuid,());
+extern PROTO(int,getgid,());
extern char * strchr();
extern PROTO(void, perror,(char *));
extern char *getenv();