summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ae
blob: d53a660edc7e67d09126c035efc3aa27339133d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.1 2000/11/12 12:43:46 he Exp $

--- libpcap-possiblymodified/bpf/net/bpf.h.orig	Sun Nov 12 13:28:39 2000
+++ libpcap-possiblymodified/bpf/net/bpf.h	Sun Nov 12 13:25:20 2000
@@ -52,7 +52,7 @@
  * Alignment macros.  BPF_WORDALIGN rounds up to the next 
  * even multiple of BPF_ALIGNMENT. 
  */
-#define BPF_ALIGNMENT sizeof(bpf_int32)
+#define BPF_ALIGNMENT sizeof(long)
 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))
 
 #define BPF_MAXINSNS 512