diff options
author | glebius <glebius@FreeBSD.org> | 2006-10-17 16:56:29 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-10-17 16:56:29 +0000 |
commit | 221ee422f9a6985b43e273bbd71a40889b182648 (patch) | |
tree | a215554c8f27f6ed2b93a31eca579a7574c532d2 /lib | |
parent | 898bb51431e78e9ba8bb2cbddc7e19d1cf097cc9 (diff) | |
download | FreeBSD-src-221ee422f9a6985b43e273bbd71a40889b182648.zip FreeBSD-src-221ee422f9a6985b43e273bbd71a40889b182648.tar.gz |
Include sys/socket.h to know about sa_family_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libnetgraph/msg.c | 1 | ||||
-rw-r--r-- | lib/libnetgraph/sock.c | 1 |
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> |