summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-07 05:55:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-07 05:55:51 +0000
commita67cb0ed502d0c21cf6ab116718b19d1cbeb39bc (patch)
tree56ea6be1bb5d7dfce2177d44da5939813c73efb9 /lib
parent8d3be4d82f83c546a4f2e901ae3707fa94b9ddb4 (diff)
correct bpf types
Diffstat (limited to 'lib')
-rw-r--r--lib/libpcap/pcap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpcap/pcap.h b/lib/libpcap/pcap.h
index c93285f3d48..af7e3ce4875 100644
--- a/lib/libpcap/pcap.h
+++ b/lib/libpcap/pcap.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: pcap.h,v 1.3 1996/03/04 15:47:29 mickey Exp $ */
-/* $NetBSD: pcap.h,v 1.2 1995/03/06 11:39:07 mycroft Exp $ */
+/* $OpenBSD: pcap.h,v 1.4 1996/05/07 05:55:50 deraadt Exp $ */
+/* $NetBSD: pcap.h,v 1.3 1996/05/02 00:18:28 cgd Exp $ */
/*
* Copyright (c) 1993, 1994
@@ -56,8 +56,8 @@
* predates the bpf typedefs for 64-bit support.
*/
#if BPF_RELEASE - 0 < 199406
-typedef long bpf_int32;
-typedef u_long bpf_u_int32;
+typedef int32_t bpf_int32;
+typedef u_int32_t bpf_u_int32;
#endif
typedef struct pcap pcap_t;