From 705f9c114d8a21806ce8ab16d2b3eea3e8ac2363 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 13 Mar 2025 19:38:18 -0400 Subject: [PATCH] libroot/stdlib: Define _DEFAULT_SOURCE for newer GCC. So that we don't get warnings/errors about missing prototypes for the non-standard sort functions. --- src/system/libroot/posix/stdlib/Jamfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/libroot/posix/stdlib/Jamfile b/src/system/libroot/posix/stdlib/Jamfile index e9bdf7fe2d..c84c66a5c4 100644 --- a/src/system/libroot/posix/stdlib/Jamfile +++ b/src/system/libroot/posix/stdlib/Jamfile @@ -1,7 +1,7 @@ SubDir HAIKU_TOP src system libroot posix stdlib ; UsePrivateHeaders drivers libroot runtime_loader shared ; -UsePrivateHeaders kernel ; # for +SubDirCcFlags -D_DEFAULT_SOURCE ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] {