File bstone-fix-build-with-gcc13.patch of Package bstone

diff --git a/src/bstone_binary_reader.cpp b/src/bstone_binary_reader.cpp
index a144997..870ea7d 100644
--- a/src/bstone_binary_reader.cpp
+++ b/src/bstone_binary_reader.cpp
@@ -5,6 +5,7 @@ Copyright (c) 2013-2022 Boris I. Bendovsky (bibendovsky@hotmail.com)
 SPDX-License-Identifier: GPL-2.0-or-later
 */
 
+#include <cstdint>
 #include <utility>
 #include "bstone_binary_reader.h"
 #include "bstone_endian.h"
diff --git a/src/bstone_binary_writer.h b/src/bstone_binary_writer.h
index f72f98c..5b24493 100644
--- a/src/bstone_binary_writer.h
+++ b/src/bstone_binary_writer.h
@@ -8,6 +8,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 #ifndef BSTONE_BINARY_WRITER_INCLUDED
 #define BSTONE_BINARY_WRITER_INCLUDED
 
+#include <cstdint>
 #include "bstone_stream.h"
 
 namespace bstone
diff --git a/src/bstone_cl_args.cpp b/src/bstone_cl_args.cpp
index 4002a23..c8f9600 100644
--- a/src/bstone_cl_args.cpp
+++ b/src/bstone_cl_args.cpp
@@ -10,6 +10,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 
 #include "bstone_string_helper.h"
 
+#include <cstdint>
 
 namespace bstone
 {
diff --git a/src/bstone_memory_stream.h b/src/bstone_memory_stream.h
index 11b7205..90440d9 100644
--- a/src/bstone_memory_stream.h
+++ b/src/bstone_memory_stream.h
@@ -12,6 +12,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 #ifndef BSTONE_MEMORY_STREAM_INCLUDED
 #define BSTONE_MEMORY_STREAM_INCLUDED
 
+#include <cstdint>
 #include <vector>
 #include "bstone_stream.h"
 #include "bstone_un_value.h"
diff --git a/src/bstone_ren_3d_shader_var.h b/src/bstone_ren_3d_shader_var.h
index ce2c38b..dd486d9 100644
--- a/src/bstone_ren_3d_shader_var.h
+++ b/src/bstone_ren_3d_shader_var.h
@@ -14,7 +14,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 #ifndef BSTONE_REN_3D_SHADER_VAR_INCLUDED
 #define BSTONE_REN_3D_SHADER_VAR_INCLUDED
 
-
+#include <cstdint>
 #include <memory>
 #include <string>
 
diff --git a/src/bstone_string_helper.h b/src/bstone_string_helper.h
index d2df6e2..1796c57 100644
--- a/src/bstone_string_helper.h
+++ b/src/bstone_string_helper.h
@@ -11,6 +11,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 
 
 #include <string>
+#include <cstdint>
 
 
 namespace bstone
diff --git a/src/id_heads.h b/src/id_heads.h
index 1a3dc44..e330cec 100644
--- a/src/id_heads.h
+++ b/src/id_heads.h
@@ -11,6 +11,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 
 
 #include <array>
+#include <cstdint>
 
 
 #include "bstone_cl_args.h"
openSUSE Build Service is sponsored by