summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph
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
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')
-rw-r--r--lib/libnetgraph/msg.c1
-rw-r--r--lib/libnetgraph/sock.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c
index 8b4ca06..48447d9 100644
--- a/lib/libnetgraph/msg.c
+++ b/lib/libnetgraph/msg.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>
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