forked from Mirrors/wine-wine
wpcap: Fix compile warnings for redefinition of PCAP_OPENFLAG_PROMISCUOUS.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 660399b8fd
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
parent
b1f4c5ea0c
commit
551cba7c31
|
@ -254,7 +254,9 @@ int CDECL wine_pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header, const un
|
|||
return pcap_next_ex(p, pkt_header, pkt_data);
|
||||
}
|
||||
|
||||
#ifndef PCAP_OPENFLAG_PROMISCUOUS
|
||||
#define PCAP_OPENFLAG_PROMISCUOUS 1
|
||||
#endif
|
||||
|
||||
pcap_t* CDECL wine_pcap_open(const char *source, int snaplen, int flags, int read_timeout,
|
||||
void *auth, char *errbuf)
|
||||
|
|
Loading…
Reference in New Issue