aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorguy <guy>2004-12-18 08:52:08 +0000
committerguy <guy>2004-12-18 08:52:08 +0000
commitf8a76d1d7613b5c4708e8ed8cfbdd19906672bba (patch)
tree4e8e7cc5fc681183f87b2423a742bfcad61bec26 /pcap-bpf.h
parentf912cc399c44a7cab6f707a2c1746fe98f328de5 (diff)
From Gisle Vanem: MS-DOS support.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 831d1b0..18454d5 100644
--- a/pcap-bpf.h
+++ b/pcap-bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.27 2004-12-09 19:03:36 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.28 2004-12-18 08:52:10 guy Exp $ (LBL)
*/
/*
@@ -60,8 +60,13 @@ extern "C" {
/* BSD style release date */
#define BPF_RELEASE 199606
+#ifdef MSDOS /* must be 32-bit */
+typedef long bpf_int32;
+typedef unsigned long bpf_u_int32;
+#else
typedef int bpf_int32;
typedef u_int bpf_u_int32;
+#endif
/*
* Alignment macros. BPF_WORDALIGN rounds up to the next