vcpkg/ports/freeglut/android.patch

13 lines
421 B
Diff
Raw Normal View History

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>