Replaced 'linux' with '__unix__' because the same header files are included on macOS as well.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <winsock.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#ifdef linux
|
||||
#ifdef __unix__
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
Reference in New Issue
Block a user