sysctl() is used only on MACOS and sysctl.h has been removed from GLIBC

parent 4abb4c26
......@@ -12,7 +12,9 @@
#else
#include <sys/param.h>
#if (!defined __ANDROID__)
#if MACOS
#include <sys/sysctl.h>
#endif
#include <ifaddrs.h>
#endif /* (!defined __ANDROID__) */
#include <sys/socket.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment