From 01c7a142caa03ca9170fa7ee045719f4148b5156 Mon Sep 17 00:00:00 2001 From: Nicholaus Clark Date: Wed, 9 Aug 2023 10:32:45 -0400 Subject: [PATCH] Require unistd.h for macosx in libzip --- contrib/libzip/premake5.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/libzip/premake5.lua b/contrib/libzip/premake5.lua index 1532d5182f..c35592a516 100644 --- a/contrib/libzip/premake5.lua +++ b/contrib/libzip/premake5.lua @@ -21,3 +21,4 @@ project "zip-lib" filter "system:macosx" defines { "HAVE_SSIZE_T_LIBZIP" } + forceincludes { "unistd.h" }