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 {