projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8716b46
)
[profiler] Another atempt at fixing linux.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Sun, 4 Jun 2017 17:01:52 +0000
(10:01 -0700)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Sun, 4 Jun 2017 17:01:52 +0000
(10:01 -0700)
mono/profiler/arg-parsing.c
patch
|
blob
|
history
diff --git
a/mono/profiler/arg-parsing.c
b/mono/profiler/arg-parsing.c
index ea0f89ae8d05cb57f70d9baeac519db91f3f6cc6..66a147b6b00ae124a9cdf49080fd86dc242173f3 100644
(file)
--- a/
mono/profiler/arg-parsing.c
+++ b/
mono/profiler/arg-parsing.c
@@
-7,6
+7,8
@@
#endif
#ifdef HAVE_SCHED_GETAFFINITY
+#include <sched.h>
+
# ifndef GLIBC_HAS_CPU_COUNT
static int
CPU_COUNT(cpu_set_t *set)