svn commit: r273524 - head/contrib/netbsd-tests/lib/libc/sys
Garrett Cooper
ngie at FreeBSD.org
Thu Oct 23 06:35:20 UTC 2014
Author: ngie
Date: Thu Oct 23 06:35:19 2014
New Revision: 273524
URL: https://svnweb.freebsd.org/changeset/base/273524
Log:
Add sys/socket.h #include for struct sockaddr_in
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_listen.c
Modified: head/contrib/netbsd-tests/lib/libc/sys/t_listen.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_listen.c Thu Oct 23 06:25:52 2014 (r273523)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_listen.c Thu Oct 23 06:35:19 2014 (r273524)
@@ -36,6 +36,10 @@
#include <arpa/inet.h>
#include <netinet/in.h>
+#if defined(__FreeBSD__)
+#include <sys/socket.h>
+#endif
+
static const char *path = "listen";
ATF_TC_WITH_CLEANUP(listen_err);
More information about the svn-src-head
mailing list