From ac3020f45b594a6ad618faed5b7d06ab1f20c3bd Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 10 Dec 2012 21:55:28 +1100 Subject: [PATCH] Include prctl header for thread renaming to work. --- util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util.c b/util.c index 77867b79..4d9ee96e 100644 --- a/util.c +++ b/util.c @@ -8,7 +8,6 @@ * any later version. See COPYING for more details. */ -#define _GNU_SOURCE #include "config.h" #include @@ -23,6 +22,9 @@ #include #include #ifndef WIN32 +# ifdef __linux +# include +# endif # include # include # include