fix: linux gcc 14 build

This commit is contained in:
Jan 2024-08-13 00:01:00 +02:00
parent fc5853eaa4
commit af01bac183
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include "Generic/GenericStringPropertySequence.h" #include "Generic/GenericStringPropertySequence.h"
#include "Parsing/Menu/Matcher/MenuMatcherFactory.h" #include "Parsing/Menu/Matcher/MenuMatcherFactory.h"
#include <algorithm>
#include <sstream> #include <sstream>
using namespace menu; using namespace menu;

6
thirdparty/zlib.lua vendored
View File

@ -44,6 +44,12 @@ function zlib:project()
"_CRT_NONSTDC_NO_DEPRECATE" "_CRT_NONSTDC_NO_DEPRECATE"
} }
filter "system:linux"
defines {
"Z_HAVE_UNISTD_H"
}
filter {}
self:include(includes) self:include(includes)
-- Disable warnings. They do not have any value to us since it is not our code. -- Disable warnings. They do not have any value to us since it is not our code.