Merge pull request #660 from CamJN/master
fix compilation on macOS Big Sur
This commit is contained in:
commit
5b07b980d8
@ -39,6 +39,10 @@
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) || defined(__DARWIN__) || defined(__MACH__)
|
||||
#define __APPLE_USE_RFC_3542
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user