summaryrefslogtreecommitdiff
path: root/AK/Time.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Time.h')
-rw-r--r--AK/Time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/AK/Time.h b/AK/Time.h
index d64e1b9ac5..8e5d128269 100644
--- a/AK/Time.h
+++ b/AK/Time.h
@@ -16,6 +16,10 @@
struct timeval;
struct timespec;
+#if defined(AK_OS_WINDOWS)
+# include <time.h>
+#endif
+
namespace AK {
// Concept to detect types which look like timespec without requiring the type.