time/Convert: include sys/time.h for struct timeval
Closes https://github.com/MusicPlayerDaemon/MPD/issues/562
This commit is contained in:
parent
8942be858b
commit
06a0a4a838
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue