diff options
author | Max Kellermann <max@musicpd.org> | 2019-05-21 10:13:16 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-12-16 23:03:21 +0100 |
commit | da882a6eb62b4070ce163f805c0cd61b0a2f1561 (patch) | |
tree | 121fa1e60a725c79132f118773116266efad14cf | |
parent | aeb89aa9d6f1c74fd87c6de17f9f5f4bfc41d612 (diff) |
time/Convert: include sys/time.h for struct timeval
Closes https://github.com/MusicPlayerDaemon/MPD/issues/562
-rw-r--r-- | src/time/Convert.cxx | 1 |
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) |