diff options
author | guy <guy> | 2004-12-18 08:52:08 +0000 |
---|---|---|
committer | guy <guy> | 2004-12-18 08:52:08 +0000 |
commit | f8a76d1d7613b5c4708e8ed8cfbdd19906672bba (patch) | |
tree | 4e8e7cc5fc681183f87b2423a742bfcad61bec26 /pcap-bpf.h | |
parent | f912cc399c44a7cab6f707a2c1746fe98f328de5 (diff) |
From Gisle Vanem: MS-DOS support.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r-- | pcap-bpf.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |