aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2024-06-11 12:30:01 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2024-06-11 12:45:59 -0700
commite6b1c0820590a1f330099ed7560982b5c6da4e91 (patch)
tree2f6df79a10875531e0163b803be1fc8b35cbaeab
parent7d64bc0990381221c480ba15cb9cc950e51e2cef (diff)
downloadgcc-e6b1c0820590a1f330099ed7560982b5c6da4e91.zip
gcc-e6b1c0820590a1f330099ed7560982b5c6da4e91.tar.gz
gcc-e6b1c0820590a1f330099ed7560982b5c6da4e91.tar.bz2
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 <quic_apinski@quicinc.com> (cherry picked from commit e4244b88d75124f6957bfa080c8ad34017364e53)
-rw-r--r--gcc/jit/jit-recording.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/jit/jit-recording.cc b/gcc/jit/jit-recording.cc
index 68a2e86..70830e3 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
<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 {