about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--include/time.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d81d560d7..db769e3642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2019-10-02  Ɓukasz Majewski <lukma@denx.de>
+	* include/time.h: Add #include <bits/types/struct_timeval.h>
+
 2019-10-02  Arjun Shankar  <arjun@redhat.com>
 
 	debugglibc.sh: Implement program arguments
diff --git a/include/time.h b/include/time.h
index 9878c2b2ca..f6dc731ac6 100644
--- a/include/time.h
+++ b/include/time.h
@@ -2,6 +2,7 @@
 #include <time/time.h>
 
 #ifndef _ISOMAC
+# include <bits/types/struct_timeval.h>
 # include <bits/types/locale_t.h>
 # include <stdbool.h>
 # include <time/mktime-internal.h>