Fix sparc64 LP64 issues.

This commit is contained in:
eeh 2000-11-02 16:14:05 +00:00
parent d36abffc92
commit 746166e492
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bpf.h,v 1.25 2000/01/31 23:06:12 thorpej Exp $ */ /* $NetBSD: bpf.h,v 1.26 2000/11/02 16:14:05 eeh Exp $ */
/* /*
* Copyright (c) 1990, 1991, 1993 * Copyright (c) 1990, 1991, 1993
@ -161,8 +161,8 @@ struct bpf_hdr {
*/ */
#ifdef _KERNEL #ifdef _KERNEL
#if defined(__arm32__) || defined(__i386__) || defined(__m68k__) || \ #if defined(__arm32__) || defined(__i386__) || defined(__m68k__) || \
defined(__mips__) || defined(__ns32k__) || defined(__sparc__) || \ defined(__mips__) || defined(__ns32k__) || defined(__vax__) || \
defined(__vax__) || defined(__sh3__) defined(__sh3__) || (defined(__sparc__) && !defined(__sparc64__))
#define SIZEOF_BPF_HDR 18 #define SIZEOF_BPF_HDR 18
#else #else
#define SIZEOF_BPF_HDR sizeof(struct bpf_hdr) #define SIZEOF_BPF_HDR sizeof(struct bpf_hdr)