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 aeb89aa9d6
commit da882a6eb6
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)