13 lines
343 B
Diff
13 lines
343 B
Diff
--- src/components/perf_event/tests/perf_event_system_wide.c.orig 2019-10-12 17:48:40.217216625 +0200
|
|
+++ src/components/perf_event/tests/perf_event_system_wide.c 2019-10-12 17:49:48.246645644 +0200
|
|
@@ -15,6 +15,9 @@
|
|
#define __USE_GNU
|
|
#endif
|
|
|
|
+/* For cpu_set_t */
|
|
+#define _GNU_SOURCE
|
|
+
|
|
/* For sched_setaffinity() */
|
|
#include <sched.h>
|
|
|