endless-sky/sky-fix-gcc13.patch

37 lines
896 B
Diff

diff --git source/ImageBuffer.h source/ImageBuffer.h
index afe4ea4..784ee25 100644
--- source/ImageBuffer.h
+++ source/ImageBuffer.h
@@ -16,6 +16,7 @@ this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef IMAGE_BUFFER_H_
#define IMAGE_BUFFER_H_
+#include <cstdint>
#include <string>
diff --git source/Preferences.h source/Preferences.h
index 04a5ad8..9eb5e05 100644
--- source/Preferences.h
+++ source/Preferences.h
@@ -16,6 +16,7 @@ this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef PREFERENCES_H_
#define PREFERENCES_H_
+#include <cstdint>
#include <string>
diff --git source/Sound.cpp source/Sound.cpp
index 6927c72..9f73c17 100644
--- source/Sound.cpp
+++ source/Sound.cpp
@@ -24,6 +24,7 @@ this program. If not, see <https://www.gnu.org/licenses/>.
#include <OpenAL/al.h>
#endif
+#include <cstdint>
#include <cstdio>
#include <vector>