yuzu-early/externals/vcpkg/ports/irrlicht/fix-sysctl.patch
2022-07-23 03:01:36 +02:00

13 lines
276 B
Diff
Executable File

--- a/source/Irrlicht/COSOperator.cpp
+++ b/source/Irrlicht/COSOperator.cpp
@@ -11,8 +11,8 @@
#else
#include <string.h>
#include <unistd.h>
-#ifndef _IRR_SOLARIS_PLATFORM_
#include <sys/types.h>
+#ifdef _IRR_OSX_PLATFORM_
#include <sys/sysctl.h>
#endif
#endif