commit 9a051e6fb970c7afe09ce2d564c163b81df050a8
Author: Alice Qio <qioalice@gmail.com>
Date:   Fri Jan 4 22:52:47 2019 +0300

    include 'sys/sysctl.h' only for apple devices

diff --git a/src/cpHastySpace.c b/src/cpHastySpace.c
index 8dca425..7d1de23 100644
--- a/src/cpHastySpace.c
+++ b/src/cpHastySpace.c
@@ -7,8 +7,12 @@
 //TODO: Move all the thread stuff to another file
 
 //#include <sys/param.h >
-#ifndef _WIN32
+
+#ifdef __APPLE__
 #include <sys/sysctl.h>
+#endif
+
+#ifndef _WIN32
 #include <pthread.h>
 #else
 #ifndef WIN32_LEAN_AND_MEAN
