emulators/openmsx: Fix build with GCC 12

Fix build with GCC 12 which is soon to become GCC_DEFAULT version.

PR:		266191
Reported by:	exp-run (antoine)
This commit is contained in:
Lorenzo Salvadore 2022-09-09 13:16:11 +02:00
parent 781f8a55a2
commit 80bb8af766
No known key found for this signature in database
GPG Key ID: B58F7C3CF6DB8A38

View File

@ -0,0 +1,10 @@
--- src/file/FileBase.hh.orig 2022-09-09 08:27:57 UTC
+++ src/file/FileBase.hh
@@ -4,6 +4,7 @@
#include "MemBuffer.hh"
#include "span.hh"
#include <cstdint>
+#include <ctime>
#include <string>
namespace openmsx {