1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

fix alpine compile issue.

This commit is contained in:
Johannes Weidacher 2021-12-25 15:36:52 +01:00
parent c72d4fddb8
commit f1b464e84d
2 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,6 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <netpacket/packet.h>
#include <net/if.h> #include <net/if.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/stat.h> #include <sys/stat.h>
@ -50,6 +49,7 @@
#endif #endif
#ifdef UNIX_LINUX #ifdef UNIX_LINUX
#include <netpacket/packet.h>
struct my_tpacket_auxdata struct my_tpacket_auxdata
{ {

View File

@ -13,12 +13,15 @@
#ifdef OS_UNIX #ifdef OS_UNIX
#include <netinet/in.h> #include <netinet/in.h>
#ifdef UNIX_LINUX
#include <pthread.h> #include <pthread.h>
#ifdef UNIX_OPENBSD #ifdef UNIX_OPENBSD
#include <pthread.h> #include <pthread.h>
#endif #endif
#endif #endif
#endif
// Dynamic Value // Dynamic Value
struct DYN_VALUE struct DYN_VALUE