import strings header in string for mesa

This commit is contained in:
auronandace
2026-04-29 09:57:11 +01:00
parent a7961e69d7
commit 4dfbb97a69
+5
View File
@@ -8,6 +8,11 @@ sys_includes = ["stddef.h"]
include_guard = "_RELIBC_STRING_H"
after_includes = """
#include <bits/locale-t.h> // for locale_t from locale.h
// POSIX doesn't require importing strings.h but mesa needs it
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
#include <strings.h>
#endif
"""
language = "C"
style = "Tag"