summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-29 19:31:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-29 19:31:17 +0000
commit22caf3c65af25d248b59eb929a57917fd6a6cabf (patch)
treee641f00dcca5c33a5a10cc4bd21b389a38e6c0a3 /sys/net
parent68461517be04b10ac6eab25f46414da2e8824793 (diff)
this stupid per-arch SIZEOF_BPF_HDR define is really really stupid, but
for now add __sparc64__ to the list (ridiculous as it seems, but that is the best we know to do so far) ok miod
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index f21648a1995..88d0a7fbc7f 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.34 2008/05/06 13:33:50 pyr Exp $ */
+/* $OpenBSD: bpf.h,v 1.35 2008/06/29 19:31:16 deraadt Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -152,7 +152,7 @@ struct bpf_hdr {
#ifdef _KERNEL
#if defined(__arm32__) || defined(__i386__) || defined(__m68k__) || \
defined(__mips__) || defined(__ns32k__) || defined(__sparc__) || \
- defined(__vax__)
+ defined(__sparc64__) || defined(__vax__)
#define SIZEOF_BPF_HDR 18
#else
#define SIZEOF_BPF_HDR sizeof(struct bpf_hdr)