diff options
| author | 1995-10-23 12:41:04 +0000 | |
|---|---|---|
| committer | 1995-10-23 12:41:04 +0000 | |
| commit | a3da20fda8ebb58733cf0d28309f69b12e742ff7 (patch) | |
| tree | 0f5419f39737dcc468e639fa849c9b0df350eae2 /sys/net/bpf_filter.c | |
| parent | Add 'u_char' cast to 'HOLE' assignment, HOLE has 10 significant bits (diff) | |
| download | wireguard-openbsd-a3da20fda8ebb58733cf0d28309f69b12e742ff7.tar.xz wireguard-openbsd-a3da20fda8ebb58733cf0d28309f69b12e742ff7.zip | |
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/bpf_filter.c')
| -rw-r--r-- | sys/net/bpf_filter.c | 2 |
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 |
