summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e1fbb9)
raw | patch | inline | side by side (parent: 0e1fbb9)
author | Vincent Brillault <git@lerya.net> | |
Fri, 22 Aug 2014 16:56:24 +0000 (18:56 +0200) | ||
committer | Vincent Brillault <git@lerya.net> | |
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index 19f0786b0b65631d93efa6a8aca791e9307bdb6d..9337e90f695b100abc3c5d7b8b00f20c00a1a762 100644 (file)
--- a/src/turbostat.c
+++ b/src/turbostat.c
* Ported to collectd by Vincent Brillault <git@lerya.net>
*/
+/*
+ * _GNU_SOURCE is required because of the following functions:
+ * - CPU_ISSET_S
+ * - CPU_ZERO_S
+ * - CPU_SET_S
+ * - CPU_FREE
+ * - CPU_ALLOC
+ * - CPU_ALLOC_SIZE
+ */
#define _GNU_SOURCE
+
#include <asm/msr-index.h>
#include <stdarg.h>
#include <stdio.h>