time/Convert: include sys/time.h for struct timeval
Closes https://github.com/MusicPlayerDaemon/MPD/issues/562
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann