summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authordavem <davem@cvs.openbsd.org>1995-10-23 12:41:05 +0000
committerdavem <davem@cvs.openbsd.org>1995-10-23 12:41:05 +0000
commitbf60fbc749eed6f8e9728bfd8b0dc08a9f73934c (patch)
treea57cf238bff5e15af50a1f2b3fff02c7c0b4fa6e /sys/net
parent0bef0f78e4e99073746b026ed78d0d4233b5e5d7 (diff)
For the '#ifdef sun [...] #endif' conditional we weren't bringing in the
proper definitions for 'struct mbuf' and friends for in.h, bringing in 'sys/socket.h' and 'net/if.h' fixes this.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf_filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/bpf_filter.c b/sys/net/bpf_filter.c
index d0a07dd78ec..aec0e275d0c 100644
--- a/sys/net/bpf_filter.c
+++ b/sys/net/bpf_filter.c
@@ -45,6 +45,8 @@
#include <sys/time.h>
#ifdef sun
+#include <sys/socket.h>
+#include <net/if.h>
#include <netinet/in.h>
#endif