Blob Blame History Raw
diff -urp telepathy-idle-0.1.4.OLD/src/idle-connection.c telepathy-idle-0.1.4/src/idle-connection.c
--- telepathy-idle-0.1.4.OLD/src/idle-connection.c	2009-05-27 19:28:54.000000000 -0400
+++ telepathy-idle-0.1.4/src/idle-connection.c	2009-06-27 19:11:31.912590828 -0400
@@ -24,6 +24,7 @@
 
 /* strnlen */
 #define __USE_GNU
+#define __USE_XOPEN2K8
 #include <string.h>
 #include <time.h>
 
diff -urp telepathy-idle-0.1.4.OLD/src/idle-parser.c telepathy-idle-0.1.4/src/idle-parser.c
--- telepathy-idle-0.1.4.OLD/src/idle-parser.c	2009-03-27 19:24:50.000000000 -0400
+++ telepathy-idle-0.1.4/src/idle-parser.c	2009-06-27 19:12:09.415590651 -0400
@@ -27,8 +27,10 @@
 #include <glib-object.h>
 
 #define __USE_GNU
+#define __USE_XOPEN2K8
 #include <string.h>
 #undef __USE_GNU
+#undef __USE_XOPEN2K8
 #include <stdio.h>
 
 #define IDLE_DEBUG_FLAG IDLE_DEBUG_PARSER