vcpkg/ports/freeglut/android.patch
2024-06-11 13:26:30 -07:00

13 lines
421 B
Diff

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>