Fix headers for XML/XMB

Declare "lib/posix/posix.h" as source for <strings.h>

Make include-what-you-use happy with files in source/ps/{XMB,XML} and
fix what needs to be fixed after including missing compile flags.

Ref: #8086
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-06-20 00:06:41 +02:00
parent 758d901883
commit a606fbf1a5
12 changed files with 106 additions and 43 deletions
+9
View File
@@ -691,6 +691,8 @@ function setup_all_libs ()
"sdl",
"boost", -- dragged in via server->simulation.h->random and NetSession.h->lockfree
"fmt",
"libxml2",
"iconv",
}
if not _OPTIONS["without-miniupnpc"] then
table.insert(extern_libs, "miniupnpc")
@@ -780,6 +782,8 @@ function setup_all_libs ()
"boost",
"spidermonkey",
"fmt",
"libxml2",
"iconv",
}
setup_static_lib_project("simulation2", source_dirs, extern_libs, {})
@@ -861,6 +865,8 @@ function setup_all_libs ()
"fmt",
"freetype",
"icu",
"libxml2",
"iconv",
}
if not _OPTIONS["without-nvtt"] then
table.insert(extern_libs, "nvtt")
@@ -877,6 +883,8 @@ function setup_all_libs ()
"sdl", -- key definitions
"spidermonkey",
"fmt",
"libxml2",
"iconv",
}
setup_static_lib_project("atlas", source_dirs, extern_libs, {})
@@ -898,6 +906,7 @@ function setup_all_libs ()
"icu",
"iconv",
"fmt",
"libxml2",
}
if not _OPTIONS["without-audio"] then
table.insert(extern_libs, "openal")