diff options
Diffstat (limited to 'gcc/sys-protos.h')
-rw-r--r-- | gcc/sys-protos.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sys-protos.h b/gcc/sys-protos.h index 566569d..ab6e407 100644 --- a/gcc/sys-protos.h +++ b/gcc/sys-protos.h @@ -449,7 +449,11 @@ extern int getgroups(int, gid_t *); extern struct hostent * gethostbyaddr(/* ??? */); extern struct hostent * gethostbyname(/* ??? */); extern struct hostent * gethostent(/* ??? */); +#ifdef __alpha__ +extern int gethostid(void); +#else extern long gethostid(void); +#endif extern int gethostname(char *, size_t); extern int getitimer(int, struct itimerval *); extern char * getlogin(void); |