]> gcc.gnu.org Git - gcc.git/commitdiff
Fix building JIT with musl libc [PR115442]
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 11 Jun 2024 19:30:01 +0000 (12:30 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Tue, 11 Jun 2024 19:42:45 +0000 (12:42 -0700)
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 <quic_apinski@quicinc.com>
gcc/jit/jit-recording.cc

index 68a2e860c1fbff7bd548afe11b99a883108bb51d..70830e349653f7a5fa5f6fe70f671084e45914af 100644 (file)
@@ -19,6 +19,7 @@ along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
 #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 <sstream>
 
 namespace gcc {
 namespace jit {
This page took 0.070969 seconds and 5 git commands to generate.