From a4b9c9ad2d77656892026ad4b51f9fb7c2a58149 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Luis=20Sanmart=C3=ADn=20Rozada?= Date: Sun, 9 Feb 2014 16:03:03 +0100 Subject: [PATCH] Explain the need for _GNU_SOURCE --- src/daemon/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c index 987f40aa..08c51995 100644 --- a/src/daemon/plugin.c +++ b/src/daemon/plugin.c @@ -25,7 +25,9 @@ * Sebastian Harl **/ -#define _GNU_SOURCE +/* _GNU_SOURCE is needed in Linux to use pthread_setname_np */ +#define _GNU_SOURCE + #include "collectd.h" #include "common.h" -- 2.30.2