aboutsummaryrefslogtreecommitdiff
path: root/lib/libnetgraph/sock.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2006-10-17 16:56:29 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2006-10-17 16:56:29 +0000
commitbbf889ededbfd1adae1823372c3041d465f1e029 (patch)
treea215554c8f27f6ed2b93a31eca579a7574c532d2 /lib/libnetgraph/sock.c
parent237af4af3f1d35355cb536b186c94513d2ca3bfd (diff)
Include sys/socket.h to know about sa_family_t.
Notes
Notes: svn path=/head/; revision=163469
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 395f28b7025a..fca3900913df 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>