From: Guy Harris Date: Thu, 6 Nov 2014 06:19:52 +0000 (-0800) Subject: Not all systems have X-Git-Tag: libpcap-1.7.0-bp~1^2~6 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/3093341cdd0dcb54b30188b4007b320c60d257fc Not all systems have Don't include it, and use u_intXX_t, which we arrange to be defined, rather than uintXX_t. --- diff --git a/pcap/bpf.h b/pcap/bpf.h index 5084d065..27d46300 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -68,9 +68,6 @@ * * This also provides our own multiple-include protection. */ - -#include - #if !defined(_NET_BPF_H_) && !defined(_BPF_H_) && !defined(_H_BPF) && !defined(lib_pcap_bpf_h) #define lib_pcap_bpf_h @@ -1478,8 +1475,8 @@ struct bpf_insn { * run it in userland). It contains VLAN tag information. */ struct bpf_aux_data { - uint16_t vlan_tag_present; - uint16_t vlan_tag; + u_int16_t vlan_tag_present; + u_int16_t vlan_tag; }; /*