aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/freeglut/android.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/freeglut/android.patch')
-rw-r--r--vcpkg/ports/freeglut/android.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/freeglut/android.patch b/vcpkg/ports/freeglut/android.patch
new file mode 100644
index 0000000..dd4753f
--- /dev/null
+++ b/vcpkg/ports/freeglut/android.patch
@@ -0,0 +1,12 @@
+diff --git a/src/android/native_app_glue/android_native_app_glue.c b/src/android/native_app_glue/android_native_app_glue.c
+index be8d941..6ddae78 100644
+--- a/src/android/native_app_glue/android_native_app_glue.c
++++ b/src/android/native_app_glue/android_native_app_glue.c
+@@ -18,6 +18,7 @@
+ #include <jni.h>
+
+ #include <errno.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/resource.h>