summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/sock.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-10-17 16:56:29 +0000
committerglebius <glebius@FreeBSD.org>2006-10-17 16:56:29 +0000
commit221ee422f9a6985b43e273bbd71a40889b182648 (patch)
treea215554c8f27f6ed2b93a31eca579a7574c532d2 /lib/libnetgraph/sock.c
parent898bb51431e78e9ba8bb2cbddc7e19d1cf097cc9 (diff)
downloadFreeBSD-src-221ee422f9a6985b43e273bbd71a40889b182648.zip
FreeBSD-src-221ee422f9a6985b43e273bbd71a40889b182648.tar.gz
Include sys/socket.h to know about sa_family_t.
Diffstat (limited to 'lib/libnetgraph/sock.c')
-rw-r--r--lib/libnetgraph/sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libnetgraph/sock.c b/lib/libnetgraph/sock.c
index 395f28b..fca3900 100644
--- a/lib/libnetgraph/sock.c
+++ b/lib/libnetgraph/sock.c
@@ -42,6 +42,7 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
+#include <sys/socket.h>
#include <stdarg.h>
#include <netgraph/ng_message.h>
#include <netgraph/ng_socket.h>
OpenPOWER on IntegriCloud