mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
655e1b4dab
* [urho3d] Add new port * [urho3d] Build master branch * [urho3d] Fix osx build * [urho3d] Fix windows build * [urho3d] Update to newest version * [urho3d] Add versions info * [urho3d] arm and uwp are not supported * [urho3d] Update versions info * [urho3d] Convert CONTROL to vcpkg.json * [urho3d] Update portfile.cmake to use newer cmake functions * [urho3d] Fix ExternalProject_Add error * [urho3d] Update versions info
28 lines
857 B
Diff
28 lines
857 B
Diff
diff --git a/Source/ThirdParty/Assimp/contrib/zlib/gzguts.h b/Source/ThirdParty/Assimp/contrib/zlib/gzguts.h
|
|
index 6378d468a..c8563db52 100644
|
|
--- a/Source/ThirdParty/Assimp/contrib/zlib/gzguts.h
|
|
+++ b/Source/ThirdParty/Assimp/contrib/zlib/gzguts.h
|
|
@@ -38,6 +38,9 @@
|
|
#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
|
|
# include <io.h>
|
|
#endif
|
|
+#ifdef __APPLE__
|
|
+# include <unistd.h>
|
|
+#endif
|
|
|
|
#if defined(_WIN32)
|
|
# define WIDECHAR
|
|
diff --git a/Source/ThirdParty/Civetweb/src/civetweb.c b/Source/ThirdParty/Civetweb/src/civetweb.c
|
|
index 4d26e0a83..2bd577e81 100644
|
|
--- a/Source/ThirdParty/Civetweb/src/civetweb.c
|
|
+++ b/Source/ThirdParty/Civetweb/src/civetweb.c
|
|
@@ -167,6 +167,8 @@ mg_static_assert(sizeof(void *) >= sizeof(int), "data type size check");
|
|
|
|
#endif
|
|
|
|
+#include <stdlib.h>
|
|
+
|
|
#if !defined(DEBUG_TRACE)
|
|
#if defined(DEBUG)
|
|
|