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-LibJXR-jxrgluelib-JXRGlueJxr.c.patch
2023-04-13 06:06:15 +09:00

14 lines
374 B
Diff

--- a/Source/LibJXR/jxrgluelib/JXRGlueJxr.c
+++ b/Source/LibJXR/jxrgluelib/JXRGlueJxr.c
@@ -29,6 +29,10 @@
#include <limits.h>
#include <JXRGlue.h>
+#ifdef __ANDROID__
+#include <wchar.h>
+#endif
+
static const char szHDPhotoFormat[] = "<dc:format>image/vnd.ms-photo</dc:format>";
const U32 IFDEntryTypeSizes[] = { 0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8 };