do stuff for OSX builds

This commit is contained in:
Dagen Brock 2015-11-25 15:18:53 -06:00
parent 1a1df1fe62
commit fa6cab3b6f

View File

@ -29,6 +29,8 @@ Feel free to extend the wrapper.
#include "../arch/win32/pcap.h"
#elif __linux__
#include <pcap.h>
#elif __APPLE__
#include <pcap/pcap.h>
#endif
bool pcapdelay_load();
@ -43,4 +45,4 @@ int pcapdelay_datalink(pcap_t *);
int pcapdelay_setnonblock(pcap_t *, int, char *);
int pcapdelay_sendpacket(pcap_t *p, u_char *buf, int size);
const u_char* pcapdelay_next(pcap_t *, struct pcap_pkthdr *);
int pcapdelay_dispatch(pcap_t *, int, pcap_handler, u_char *);
int pcapdelay_dispatch(pcap_t *, int, pcap_handler, u_char *);