fix tiff build for uwp

This commit is contained in:
huangqinjin 2019-01-22 16:32:52 +08:00
parent b6fe5b5db5
commit ea29ebaf37
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/port/lfind.c port/lfind.c
index 087dfa9..20fa8b4 100644
--- a/port/lfind.c
+++ b/port/lfind.c
@@ -38,7 +38,7 @@
#ifdef _WIN32_WCE
# include <wce_types.h>
#else
-# include <sys/types.h>
+# include <stddef.h>
#endif
#ifndef NULL

View File

@ -15,6 +15,7 @@ vcpkg_extract_source_archive_ex(
add-component-options.patch
fix-cxx-shared-libs.patch
crt-secure-no-deprecate.patch
fix-stddef.patch
)
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")