Description: Add missing <sstream> include to build tools
 Fix FTBFS with GCC 15: tools/generate_strings/main.cc,
 tools/build_segment.cc and tools/generate_z80_tables.cc use
 std::istringstream/ostringstream/stringstream by value without
 including <sstream>, which was previously provided transitively
 (e.g. via <regex>). Add the missing header explicitly so the
 build tools compile with GCC 15.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-04

--- open-roms-0.0~git20250319.46ccd6f.orig/tools/build_segment.cc
+++ open-roms-0.0~git20250319.46ccd6f/tools/build_segment.cc
@@ -18,6 +18,7 @@
 #include <list>
 #include <map>
 #include <set>
+#include <sstream>
 #include <vector>
 
 const std::string LAB_OUT_START = "__routine_START_";
--- open-roms-0.0~git20250319.46ccd6f.orig/tools/generate_strings/main.cc
+++ open-roms-0.0~git20250319.46ccd6f/tools/generate_strings/main.cc
@@ -8,6 +8,7 @@
 
 #include <fstream>
 #include <regex>
+#include <sstream>
 #include <unistd.h>
 
 
--- open-roms-0.0~git20250319.46ccd6f.orig/tools/generate_z80_tables.cc
+++ open-roms-0.0~git20250319.46ccd6f/tools/generate_z80_tables.cc
@@ -9,6 +9,7 @@
 #include <cstdio>
 #include <fstream>
 #include <iomanip>
+#include <sstream>
 
 // Global variables
 

