aports/community/nymphcast/gcc12.patch
2022-08-20 09:24:28 +02:00

25 lines
805 B
Diff

diff --git a/src/server/gui/core/components/DateTimeComponent.h b/src/server/gui/core/components/DateTimeComponent.h
index 55d70ca..63058ea 100644
--- a/src/server/gui/core/components/DateTimeComponent.h
+++ b/src/server/gui/core/components/DateTimeComponent.h
@@ -2,6 +2,7 @@
#ifndef ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H
#define ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H
+#include <ctime>
#include "utils/TimeUtil.h"
#include "TextComponent.h"
diff --git a/src/server/gui/core/utils/TimeUtil.h b/src/server/gui/core/utils/TimeUtil.h
index 9b44207..db69ad3 100644
--- a/src/server/gui/core/utils/TimeUtil.h
+++ b/src/server/gui/core/utils/TimeUtil.h
@@ -2,6 +2,7 @@
#ifndef ES_CORE_UTILS_TIME_UTIL_H
#define ES_CORE_UTILS_TIME_UTIL_H
+#include <ctime>
#include <string>
namespace Utils