OBS-URL: https://build.opensuse.org/package/show/games/commandergenius?expand=0&rev=68
29 lines
831 B
Diff
29 lines
831 B
Diff
From f9fb2808acfca598fe6e6963c84fe9afe5bcd89e Mon Sep 17 00:00:00 2001
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: Tue, 28 Mar 2023 10:56:06 +0200
|
|
Subject: [PATCH] build: resolve compile error with gcc-13
|
|
|
|
GsKit/base/utils/Unicode.h:16:9: error: 'uint32_t' does not name a type
|
|
GsKit/base/utils/Unicode.h:17:27: error: 'UnicodeChar' was not declared in this scope
|
|
GsKit/base/utils/Unicode.h:17:38: error: template argument 1 is invalid
|
|
...
|
|
---
|
|
GsKit/base/utils/Unicode.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/GsKit/base/utils/Unicode.h b/GsKit/base/utils/Unicode.h
|
|
index 35516a7d7..cf56b9bff 100644
|
|
--- a/GsKit/base/utils/Unicode.h
|
|
+++ b/GsKit/base/utils/Unicode.h
|
|
@@ -11,6 +11,7 @@
|
|
#ifndef __UNICODE_H__
|
|
#define __UNICODE_H__
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
|
|
typedef uint32_t UnicodeChar;
|
|
--
|
|
2.40.0
|
|
|