Fix pcap_getevent warning

This commit is contained in:
Joseph C. Lehner 2016-02-02 21:35:54 +02:00
parent 8ce09f61a1
commit 43643aa3de

View file

@ -3,14 +3,16 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <pcap.h>
#include "ethsock.h"
#include "nmrpd.h"
#if defined(NMRPFLASH_WINDOWS)
#include <windows.h>
#define NMRPFLASH_ALIAS_PREFIX "net"
#define WPCAP
#include <pcap.h>
#include <windows.h>
#else
#include <pcap.h>
#include <ifaddrs.h>
#if defined(NMRPFLASH_LINUX)
#include <linux/if_packet.h>