summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/gethostid.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-10 09:47:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-10 09:47:59 +0000
commitb77e6cd62103be90cd9cdd8e24372cb5324916ad (patch)
treedf25857397237d37391fc0727d43e3fbead27a7b /sysdeps/unix/sysv/linux/gethostid.c
parent8632b24036502a41a4e2648cd892d2c4be1e0f73 (diff)
Update.
1998-12-10 Ulrich Drepper <drepper@cygnus.com> * inet/getnetgrent_r.c (innetgr): Check host and domain name with strcasecmp, not strcmp. [PR libc/894]. 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> * posix/regex.h: Declare re_comp, re_exec if compiling for libc to get prototypes. * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank. 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get prototype for __gethostbyname_r. * include/time.h: Add declarations of internal interfaces. * time/tzset.c: Remove declarations of internal interfaces. * time/gmtime.c: Likewise. * time/localtime.c: Likewise. * time/offtime.c: Likewise. * time/tzfile.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/gethostid.c')
-rw-r--r--sysdeps/unix/sysv/linux/gethostid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/gethostid.c b/sysdeps/unix/sysv/linux/gethostid.c
index f8a3b80481..3ef6ac63fb 100644
--- a/sysdeps/unix/sysv/linux/gethostid.c
+++ b/sysdeps/unix/sysv/linux/gethostid.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
+#include <netdb.h>
#define HOSTIDFILE "/var/adm/hostid"