diff options
Diffstat (limited to 'bfd/hosts/dgux.h')
-rw-r--r-- | bfd/hosts/dgux.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bfd/hosts/dgux.h b/bfd/hosts/dgux.h index 57351c2..7db80bf 100644 --- a/bfd/hosts/dgux.h +++ b/bfd/hosts/dgux.h @@ -1,7 +1,8 @@ #include <errno.h> +#include <sys/types.h> #include <sys/dg_c_generics.h> #include <unistd.h> -#include <stdlib.h> + #include <string.h> #include <fcntl.h> #include <sys/stat.h> @@ -10,6 +11,16 @@ #include <stdio.h> +#ifndef DONTDECLARE_MALLOC +extern PROTO(PTR,malloc,(unsigned)); +extern PROTO(PTR ,realloc, (PTR, unsigned)); +#endif +extern PROTO(int, abort,(void)); +extern PROTO(int, free,(PTR)); +extern PROTO(void, bcopy,(char*,char*,int)); +extern PROTO(void, exit,(int)); +extern int strtol(); +extern PROTO(void, bzero,(char *, int)); #define NO_STDARG 1 |