openmsx: fix build for gcc 13

This commit is contained in:
oreo639 2024-02-18 21:00:02 -08:00
parent f504e955fa
commit 6408fe83cd
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
From b50d02069c09f11c687637c64ca1b459a5def28c Mon Sep 17 00:00:00 2001
From: m9710797 <vermaelen.wouter@gmail.com>
Date: Sat, 4 Feb 2023 16:37:39 +0100
Subject: [PATCH] Added missing #include
Thanks to 'musuruan' for reporting.
https://github.com/openMSX/openMSX/issues/1487
---
src/utils/hash_set.hh | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/utils/hash_set.hh b/src/utils/hash_set.hh
index fb4bb93933..c89883121e 100644
--- a/src/utils/hash_set.hh
+++ b/src/utils/hash_set.hh
@@ -11,6 +11,7 @@
#include "unreachable.hh"
#include "xrange.hh"
#include <cassert>
+#include <cstdint>
#include <cstdlib>
#include <functional>
#include <initializer_list>