1From 5382142d37730f6758753b758c91e257ffd5892c Mon Sep 17 00:00:00 2001 2From: Romain Naour <romain.naour@gmail.com> 3Date: Sun, 9 Apr 2017 22:20:19 +0200 4Subject: [PATCH] remove sys/sysctl.h 5 6With musl irrlicht doesn't build due to missing sys/sysctl.h 7 8fatal error: sys/sysctl.h: No such file or directory 9 10From [1] 11"sysctl does not work, and NEVER worked. using it is bogus. 12it was a bogus experimental syscall that was deprecated before 13it was ever used (basically, a broken binary version of 14/proc/sys, without any stability between kernel versions for 15what the binary constants meant)." 16 17[1] https://devsonacid.wordpress.com/tag/musl/ 18 19Signed-off-by: Romain Naour <romain.naour@gmail.com> 20--- 21 source/Irrlicht/COSOperator.cpp | 1 - 22 1 file changed, 1 deletion(-) 23 24diff --git a/source/Irrlicht/COSOperator.cpp b/source/Irrlicht/COSOperator.cpp 25index 0899d1d..ccf5ef5 100644 26--- a/source/Irrlicht/COSOperator.cpp 27+++ b/source/Irrlicht/COSOperator.cpp 28@@ -13,7 +13,6 @@ 29 #include <unistd.h> 30 #ifndef _IRR_SOLARIS_PLATFORM_ 31 #include <sys/types.h> 32-#include <sys/sysctl.h> 33 #endif 34 #endif 35 36-- 372.9.3 38 39