https://gcc.gnu.org/g:6eb0e931097a8fec01591051c9ef582d52fe7f0c

commit r13-8842-g6eb0e931097a8fec01591051c9ef582d52fe7f0c
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Tue Jun 11 12:30:01 2024 -0700

    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_apin...@quicinc.com>
    (cherry picked from commit e4244b88d75124f6957bfa080c8ad34017364e53)

Diff:
---
 gcc/jit/jit-recording.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/jit/jit-recording.cc b/gcc/jit/jit-recording.cc
index cf734cf7ef5f..914082ae861e 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"

Reply via email to