summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf_filter.c
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2000-06-19 03:00:51 +0000
committerjason <jason@openbsd.org>2000-06-19 03:00:51 +0000
commit24d635a593f2fc6f7de9cc77bb5a2cf3b1077b48 (patch)
tree0d01ada725af19bbbe496543bf25302a55b00d1f /sys/net/bpf_filter.c
parentmem leak + be more paranoid in dsa_verify. (diff)
downloadwireguard-openbsd-24d635a593f2fc6f7de9cc77bb5a2cf3b1077b48.tar.xz
wireguard-openbsd-24d635a593f2fc6f7de9cc77bb5a2cf3b1077b48.zip
de-#ifdef-ize
Diffstat (limited to 'sys/net/bpf_filter.c')
-rw-r--r--sys/net/bpf_filter.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/net/bpf_filter.c b/sys/net/bpf_filter.c
index b65d8ef6705..095ac146037 100644
--- a/sys/net/bpf_filter.c
+++ b/sys/net/bpf_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf_filter.c,v 1.6 1999/09/13 22:35:44 niklas Exp $ */
+/* $OpenBSD: bpf_filter.c,v 1.7 2000/06/19 03:00:54 jason Exp $ */
/* $NetBSD: bpf_filter.c,v 1.12 1996/02/13 22:00:00 christos Exp $ */
/*
@@ -45,14 +45,7 @@
#include <sys/types.h>
#include <sys/time.h>
-#ifdef sun
-#include <sys/socket.h>
-#include <net/if.h>
-#include <netinet/in.h>
-#endif
-
-#if defined(sparc) || defined(__mips__) || defined(ibm032) || \
- ((defined(__NetBSD__) || defined(__OpenBSD__)) && !defined(UNALIGNED_ACCESS))
+#ifndef UNALIGNED_ACCESS
#define BPF_ALIGN
#endif