1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 08:14:58 +03:00

Fix compile errors on OpenBSD

- <pthread.h> included for the "pthread_t" type definition.
- <net/ethernet.h> include removed as the header doesn't exist.
- AI_ALL and AI_V4MAPPED defined to 0 as the options don't exist.
This commit is contained in:
Davide Beatrici
2021-05-03 19:58:12 +02:00
parent 60568da9b7
commit 2f801f30de
3 changed files with 16 additions and 1 deletions

View File

@ -13,6 +13,10 @@
#ifdef OS_UNIX
#include <netinet/in.h>
#ifdef UNIX_OPENBSD
#include <pthread.h>
#endif
#endif
// Dynamic Value