diff --git a/src/openrct2-ui/interface/FileBrowser.h b/src/openrct2-ui/interface/FileBrowser.h
index baf4855..6174b85 100644
--- a/src/openrct2-ui/interface/FileBrowser.h
+++ b/src/openrct2-ui/interface/FileBrowser.h
@@ -13,6 +13,7 @@
 #include <functional>
 #include <openrct2/core/StringTypes.h>
 #include <openrct2/localisation/StringIdType.h>
+#include <ctime>
 #include <string>
 
 struct TrackDesign;
