void-packages/srcpkgs/supertuxkart/patches/musl_no_sys_sysctl_h.patch

15 lines
456 B
Diff

--- lib/irrlicht/source/Irrlicht/COSOperator.cpp 2015-04-21 13:32:20.604208642 +0200
+++ lib/irrlicht/source/Irrlicht/COSOperator.cpp 2015-08-15 23:29:13.828953039 +0200
@@ -13,9 +13,11 @@
#include <unistd.h>
#if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__)
#include <sys/types.h>
+#if defined(__GLIBC__)
#include <sys/sysctl.h>
#endif
#endif
+#endif
#if defined(_IRR_COMPILE_WITH_X11_DEVICE_)
#include "CIrrDeviceLinux.h"