Include <netdb.h> to get prototype for __gethostbyname_r.
authordrepper <drepper>
Tue, 8 Dec 1998 16:11:05 +0000 (16:11 +0000)
committerdrepper <drepper>
Tue, 8 Dec 1998 16:11:05 +0000 (16:11 +0000)
sysdeps/unix/sysv/linux/gethostid.c

index f8a3b80..3ef6ac6 100644 (file)
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <netdb.h>
 
 #define HOSTIDFILE "/var/adm/hostid"