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
Vijay Kiran Kamuju 2019-05-03 18:49:48 +02:00 committed by Michael Stefaniuc
parent b1f4c5ea0c
commit 551cba7c31
1 changed files with 2 additions and 0 deletions

View File

@ -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)