aboutsummaryrefslogtreecommitdiff
path: root/games/openrct2/files/patch-src_openrct2_platform_Platform.Linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openrct2/files/patch-src_openrct2_platform_Platform.Linux.cpp')
-rw-r--r--games/openrct2/files/patch-src_openrct2_platform_Platform.Linux.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/openrct2/files/patch-src_openrct2_platform_Platform.Linux.cpp b/games/openrct2/files/patch-src_openrct2_platform_Platform.Linux.cpp
new file mode 100644
index 000000000000..abba392a83de
--- /dev/null
+++ b/games/openrct2/files/patch-src_openrct2_platform_Platform.Linux.cpp
@@ -0,0 +1,14 @@
+--- src/openrct2/platform/Platform.Linux.cpp.orig 2018-03-18 20:26:14 UTC
++++ src/openrct2/platform/Platform.Linux.cpp
+@@ -16,6 +16,11 @@
+
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || (defined(__linux__) && !defined(__ANDROID__))
+
++#ifdef __FreeBSD__
++#include <stddef.h>
++#include <sys/types.h>
++#include <sys/sysctl.h>
++#endif
+ #include <limits.h>
+ #include <pwd.h>
+ #include "../core/Path.hpp"