0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/freeimage/Source-ZLib-gzguts.h.patch
2023-04-13 06:06:15 +09:00

14 lines
215 B
Diff

--- a/Source/ZLib/gzguts.h
+++ b/Source/ZLib/gzguts.h
@@ -26,6 +26,10 @@
# include <limits.h>
#endif
+#ifdef __ANDROID__
+# include <unistd.h>
+#endif
+
#ifndef _POSIX_SOURCE
# define _POSIX_SOURCE
#endif