From: Andrew Pinski Date: Tue, 11 Jun 2024 19:30:01 +0000 (-0700) Subject: Fix building JIT with musl libc [PR115442] X-Git-Tag: basepoints/gcc-16~8365 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4244b88d75124f6957bfa080c8ad34017364e53;p=thirdparty%2Fgcc.git Fix building JIT with musl libc [PR115442] Just like r13-6662-g0e6f87835ccabf but this time for jit/jit-recording.cc. Pushed as obvious after a quick build to make sure jit still builds. gcc/jit/ChangeLog: PR jit/115442 * jit-recording.cc: Define INCLUDE_SSTREAM before including system.h and don't directly incldue sstream. Signed-off-by: Andrew Pinski --- diff --git a/gcc/jit/jit-recording.cc b/gcc/jit/jit-recording.cc index 68a2e860c1f..70830e34965 100644 --- a/gcc/jit/jit-recording.cc +++ b/gcc/jit/jit-recording.cc @@ -19,6 +19,7 @@ along with GCC; see the file COPYING3. If not see . */ #include "config.h" +#define INCLUDE_SSTREAM #include "system.h" #include "coretypes.h" #include "tm.h" @@ -29,7 +30,6 @@ along with GCC; see the file COPYING3. If not see #include "jit-builtins.h" #include "jit-recording.h" #include "jit-playback.h" -#include namespace gcc { namespace jit {