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 8d487cb5bf48c90492710bee2c7ef01e4a2d9511..530f8dc3103ea9bff0418b39a5f343a9595d69e2 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>