test-getaddrinfo.c: include <netinet/in.h>
authorJim Meyering <meyering@redhat.com>
Sat, 3 May 2008 09:50:31 +0000 (11:50 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 5 May 2008 12:12:31 +0000 (14:12 +0200)
* tests/test-getaddrinfo.c: This is required for the new use
of "struct sockaddr_in", at least on FreeBSD 6.

tests/test-getaddrinfo.c

index 8d487cb..530f8dc 100644 (file)
@@ -20,6 +20,7 @@
 #include <config.h>
 #include "getaddrinfo.h"
 #include <arpa/inet.h>
+#include <netinet/in.h>
 #include <stdio.h>
 #include <string.h>