time/Convert: include sys/time.h for struct timeval

Closes https://github.com/MusicPlayerDaemon/MPD/issues/562
This commit is contained in:
Max Kellermann 2019-05-21 10:13:16 +02:00
parent 8942be858b
commit 06a0a4a838
1 changed files with 1 additions and 0 deletions

View File

@ -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)