Merge pull request #660 from CamJN/master

fix compilation on macOS Big Sur
This commit is contained in:
Mészáros Mihály 2020-12-10 11:10:45 +01:00 committed by GitHub
commit 5b07b980d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>