From 8f3356a262ae87ec9e8ba9c1628f99a1d59fdc05 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 7 May 1996 05:55:50 +0000 Subject: [PATCH] correct bpf types --- lib/libpcap/pcap.h | 8 ++++---- 1 file 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; -- 2.20.1