gentoo-ebuilds/app-editors/kakoune/files/kakoune-2022.10.31-gcc13.patch
Ian Hixson 677c2f992c
app-editors/kakoune: Fix gcc13 build bug #895264
Closes: https://bugs.gentoo.org/895264
Signed-off-by: Ian Hixson <mujo@sdf.org>
Closes: https://github.com/gentoo/gentoo/pull/29867
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-19 03:10:57 +00:00

29 lines
540 B
Diff

https://bugs.gentoo.org/895264
https://github.com/mawww/kakoune/issues/4854
diff --git a/src/keys.hh b/src/keys.hh
index 0af1a5a8..ccafe336 100644
--- a/src/keys.hh
+++ b/src/keys.hh
@@ -9,6 +9,8 @@
#include "unicode.hh"
#include "vector.hh"
+#include <cstdint>
+
namespace Kakoune
{
diff --git a/src/ranked_match.hh b/src/ranked_match.hh
index ec7fe626..62d6b8f0 100644
--- a/src/ranked_match.hh
+++ b/src/ranked_match.hh
@@ -4,6 +4,8 @@
#include "string.hh"
#include "meta.hh"
+#include <cstdint>
+
namespace Kakoune
{