From 06a0a4a83804931b01084478fc2d1a937fa3e5ae Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 May 2019 10:13:16 +0200 Subject: [PATCH] time/Convert: include sys/time.h for struct timeval Closes https://github.com/MusicPlayerDaemon/MPD/issues/562 --- src/time/Convert.cxx | 1 + 1 file changed, 1 insertion(+) 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 #include +#include /* for struct timeval */ struct tm GmTime(std::chrono::system_clock::time_point tp)