]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nss/test-netdb.c
Update.
[thirdparty/glibc.git] / nss / test-netdb.c
index 918bbeb7c33e6e27f75c41b148f90bd1db772dd5..46cf52409b03c3171c8b7db4ee2fb8211656de15 100644 (file)
@@ -37,6 +37,8 @@
 #include <netinet/in.h>
 #include <sys/param.h>
 #include <sys/socket.h>
+#include <unistd.h>
+#include "nss.h"
 
 /*
   The following define is neccessary for glibc 2.0.6
@@ -104,7 +106,6 @@ test_services (void)
 void
 output_hostent (const char *call, struct hostent *hptr)
 {
-  int i;
   char **pptr;
   char buf[INET6_ADDRSTRLEN];