From 22caf3c65af25d248b59eb929a57917fd6a6cabf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 29 Jun 2008 19:31:17 +0000 Subject: 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 --- sys/net/bpf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net') 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) -- cgit v1.2.3