Description: __USE_GNU should not be used directly; _GNU_SOURCE is the correct invocation. http://gcc.gnu.org/ml/fortran/2005-10/msg00365.html Author: Kees Cook Bug: https://bugs.freedesktop.org/show_bug.cgi?id=24443 diff -Nur -x '*.orig' -x '*~' telepathy-idle-0.1.4/src/idle-connection.c telepathy-idle-0.1.4.new/src/idle-connection.c --- telepathy-idle-0.1.4/src/idle-connection.c 2009-05-27 16:28:54.000000000 -0700 +++ telepathy-idle-0.1.4.new/src/idle-connection.c 2009-10-10 08:27:49.000000000 -0700 @@ -18,12 +18,12 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _GNU_SOURCE #include "idle-connection.h" #include /* strnlen */ -#define __USE_GNU #include #include diff -Nur -x '*.orig' -x '*~' telepathy-idle-0.1.4/src/idle-parser.c telepathy-idle-0.1.4.new/src/idle-parser.c --- telepathy-idle-0.1.4/src/idle-parser.c 2009-03-27 16:24:50.000000000 -0700 +++ telepathy-idle-0.1.4.new/src/idle-parser.c 2009-10-10 08:27:35.000000000 -0700 @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _GNU_SOURCE #include "idle-parser.h" #include "idle-connection.h" @@ -26,9 +27,7 @@ #include #include -#define __USE_GNU #include -#undef __USE_GNU #include #define IDLE_DEBUG_FLAG IDLE_DEBUG_PARSER