Add missing header file for linux
authorfanyang-mono <yangfan@microsoft.com>
Thu, 23 Apr 2020 18:22:13 +0000 (14:22 -0400)
committerfanyang-mono <yangfan@microsoft.com>
Thu, 23 Apr 2020 18:22:13 +0000 (14:22 -0400)
src/mono/mono/utils/mono-time.h

index 4da16e3..0d1d41a 100644 (file)
@@ -33,6 +33,7 @@ gint64 mono_100ns_datetime_from_timeval (struct timeval tv);
 #include <mach/clock.h>
 typedef clock_serv_t mono_clock_id_t;
 #elif defined(__linux__)
+#include <sys/time.h>
 typedef clockid_t mono_clock_id_t;
 #else
 typedef void* mono_clock_id_t;