mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-27 12:50:04 +00:00
do stuff for OSX builds
This commit is contained in:
parent
1a1df1fe62
commit
fa6cab3b6f
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user