File fix-gcc15.patch of Package freeserf
https://github.com/freeserf/freeserf/pull/537
diff --git a/src/buffer.h b/src/buffer.h
index 01cb5d3..16e268b 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -22,6 +22,7 @@
#ifndef SRC_BUFFER_H_
#define SRC_BUFFER_H_
+#include <cstdint>
#include <memory>
#include <string>
#include <algorithm>
diff --git a/src/data-source.h b/src/data-source.h
index 452e1ae..7a7040c 100644
--- a/src/data-source.h
+++ b/src/data-source.h
@@ -22,6 +22,7 @@
#ifndef SRC_DATA_SOURCE_H_
#define SRC_DATA_SOURCE_H_
+#include <cstdint>
#include <string>
#include <memory>
#include <tuple>
diff --git a/src/gfx.h b/src/gfx.h
index c7b1ba0..516f697 100644
--- a/src/gfx.h
+++ b/src/gfx.h
@@ -22,6 +22,7 @@
#ifndef SRC_GFX_H_
#define SRC_GFX_H_
+#include <cstdint>
#include <map>
#include <string>
#include <memory>
diff --git a/src/random.h b/src/random.h
index 9b548d4..1e6e8ec 100644
--- a/src/random.h
+++ b/src/random.h
@@ -23,6 +23,7 @@
#define SRC_RANDOM_H_
#include <string>
+#include <cstdint>
class Random {
protected:
diff --git a/src/xmi2mid.h b/src/xmi2mid.h
index 3169d5e..211dbdf 100644
--- a/src/xmi2mid.h
+++ b/src/xmi2mid.h
@@ -22,6 +22,7 @@
#ifndef SRC_XMI2MID_H_
#define SRC_XMI2MID_H_
+#include <cstdint>
#include <vector>
#include <string>