summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d9678b)
raw | patch | inline | side by side (parent: 9d9678b)
author | Manuel Luis SanmartĂn Rozada <manuel.luis@gmail.com> | |
Sun, 9 Feb 2014 15:03:03 +0000 (16:03 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 16 Nov 2016 06:40:50 +0000 (07:40 +0100) |
src/daemon/plugin.c | patch | blob | history |
diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c
index 987f40aaf431c030de6cff4b3b4007b72c806d72..08c5199566a6a0134f1bf39a0042205d7ecdd588 100644 (file)
--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
* Sebastian Harl <sh at tokkee.org>
**/
-#define _GNU_SOURCE
+/* _GNU_SOURCE is needed in Linux to use pthread_setname_np */
+#define _GNU_SOURCE
+
#include "collectd.h"
#include "common.h"