summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/Convert.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/time/Convert.cxx b/src/time/Convert.cxx
index 518e7a325..aff35620b 100644
--- a/src/time/Convert.cxx
+++ b/src/time/Convert.cxx
@@ -35,6 +35,7 @@
#include <stdexcept>
#include <time.h>
+#include <sys/time.h> /* for struct timeval */
struct tm
GmTime(std::chrono::system_clock::time_point tp)