changeset 10035:328c376f78e9

test-getaddrinfo.c: include <netinet/in.h> * tests/test-getaddrinfo.c: This is required for the new use of "struct sockaddr_in", at least on FreeBSD 6.
author Jim Meyering <meyering@redhat.com>
date Sat, 03 May 2008 11:50:31 +0200
parents 755ab2f17a87
children c21afc45f998
files tests/test-getaddrinfo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-getaddrinfo.c
+++ b/tests/test-getaddrinfo.c
@@ -20,6 +20,7 @@
 #include <config.h>
 #include "getaddrinfo.h"
 #include <arpa/inet.h>
+#include <netinet/in.h>
 #include <stdio.h>
 #include <string.h>