Commit 06a0a4a8 authored by Max Kellermann's avatar Max Kellermann

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

parent 8942be85
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <stdexcept> #include <stdexcept>
#include <time.h> #include <time.h>
#include <sys/time.h> /* for struct timeval */
struct tm struct tm
GmTime(std::chrono::system_clock::time_point tp) GmTime(std::chrono::system_clock::time_point tp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment