projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5798ac6
)
Add missing header file for linux
author
fanyang-mono
<yangfan@microsoft.com>
Thu, 23 Apr 2020 18:22:13 +0000
(14:22 -0400)
committer
fanyang-mono
<yangfan@microsoft.com>
Thu, 23 Apr 2020 18:22:13 +0000
(14:22 -0400)
src/mono/mono/utils/mono-time.h
patch
|
blob
|
history
diff --git
a/src/mono/mono/utils/mono-time.h
b/src/mono/mono/utils/mono-time.h
index
4da16e3
..
0d1d41a
100644
(file)
--- a/
src/mono/mono/utils/mono-time.h
+++ b/
src/mono/mono/utils/mono-time.h
@@
-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;