mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-14 09:55:33 +08:00
change client to libev, server doesnt work yet
This commit is contained in:
9
common.h
9
common.h
@@ -44,21 +44,22 @@
|
||||
#ifndef NO_LIBNET
|
||||
#include <libnet.h>
|
||||
#endif
|
||||
#include <my_ev.h>
|
||||
|
||||
#else
|
||||
|
||||
//#include <linux/if_ether.h>
|
||||
#include <linux/filter.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <sys/epoll.h>
|
||||
#include <sys/wait.h>
|
||||
//#include <sys/epoll.h>
|
||||
//#include <sys/wait.h> //signal
|
||||
#include <netinet/if_ether.h>
|
||||
#include <net/if.h>
|
||||
#include <sys/timerfd.h>
|
||||
//#include <sys/timerfd.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include <my_ev.h>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <winsock2.h>
|
||||
typedef unsigned char u_int8_t;
|
||||
|
Reference in New Issue
Block a user