Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 06:35:19 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273524 - head/contrib/netbsd-tests/lib/libc/sys
Message-ID:  <201410230635.s9N6ZJq5044427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410230635.s9N6ZJq5044427>