--- sysdeps/linux-gnu/proc.c.orig 2012-11-24 14:16:38.143412974 -0500 +++ sysdeps/linux-gnu/proc.c 2012-11-24 14:15:37.118929507 -0500 @@ -21,7 +21,9 @@ * 02110-1301 USA */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE /* For getline. */ +#endif #include "config.h" #include <sys/stat.h> --- handle_event.c.orig 2012-11-24 14:18:49.381152430 -0500 +++ handle_event.c 2012-11-24 14:19:04.720771399 -0500 @@ -25,7 +25,9 @@ #include "config.h" +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <assert.h> #include <errno.h> #include <signal.h> --- output.c.orig 2012-11-24 14:20:09.904152447 -0500 +++ output.c 2012-11-24 14:20:33.040577878 -0500 @@ -24,7 +24,9 @@ /* glibc before 2.10, eglibc and uClibc all need _GNU_SOURCE defined * for open_memstream to become visible. */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include "config.h"