diff -Naur edbrowse-3.5.1/src/fetchmail.c edbrowse-3.5.1.new/src/fetchmail.c
--- edbrowse-3.5.1/src/fetchmail.c	2014-09-23 21:50:37.000000000 -0700
+++ edbrowse-3.5.1.new/src/fetchmail.c	2014-09-29 02:29:46.193856866 -0700
@@ -6,6 +6,7 @@
  * This file is part of the edbrowse project, released under GPL.
  */
 
+#define _GNU_SOURCE
 #include "eb.h"
 
 #define MHLINE 200		/* length of a mail header line */
diff -Naur edbrowse-3.5.1/src/sendmail.c edbrowse-3.5.1.new/src/sendmail.c
--- edbrowse-3.5.1/src/sendmail.c	2014-09-23 21:50:37.000000000 -0700
+++ edbrowse-3.5.1.new/src/sendmail.c	2014-09-29 02:29:37.105874233 -0700
@@ -5,6 +5,7 @@
  * This file is part of the edbrowse project, released under GPL.
  */
 
+#define _GNU_SOURCE
 #include "eb.h"
 
 #include <time.h>
