From 76ca5685bbc20ebbfdc50d07f1d717769668cb8e Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 4 Mar 2012 15:26:09 -0500 Subject: [PATCH] tests: define _GNU_SOURCE instead of __USE_GNU Fixes the following warning: In file included from urcutorture.c:9:0: api.h:67:0: warning: "__USE_GNU" redefined [enabled by default] /usr/include/features.h:304:0: note: this is the location of the previous definition Signed-off-by: Mathieu Desnoyers --- tests/api.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/api.h b/tests/api.h index c5d716f..03c370b 100644 --- a/tests/api.h +++ b/tests/api.h @@ -1,7 +1,7 @@ - #ifndef _INCLUDE_API_H #define _INCLUDE_API_H +#define _GNU_SOURCE #include "../config.h" /* @@ -64,7 +64,6 @@ #include #include #include -#define __USE_GNU #include #include #include -- 2.34.1