Merge pull request #2594 from akoeplinger/fix-facade-lookup-when-mono-path-overriden
[mono.git] / mono / profiler / proflog.c
index 9120ae06916850b4154f96828b7bb34757b40a41..9f24cae696df82d5736c847f31339ef6e920b30b 100644 (file)
 
 #include <unistd.h>
 #include <sys/syscall.h>
-#include "perf_event.h"
 
 #ifdef ENABLE_PERF_EVENTS
+#include <linux/perf_event.h>
+
 #define USE_PERF_EVENTS 1
 
 static int read_perf_mmap (MonoProfiler* prof, int cpu);