]> Pileus Git - ~andy/fetchmail/blobdiff - rfc822.c
Merge branch 'legacy_63'
[~andy/fetchmail] / rfc822.c
index 2afd82b1ffa7a06e44de6a79311eda7e0273fb60..4efba8349eb6a79c494cae0d95aa54e9b72fb7dc 100644 (file)
--- a/rfc822.c
+++ b/rfc822.c
@@ -20,7 +20,11 @@ MIT license.  Compile with -DMAIN to build the demonstrator.
 
 ******************************************************************************/
 
+#define _XOPEN_SOURCE 600
+#define __BSD_VISIBLE 1
+
 #include "config.h"
+#include "fetchmail.h"
 
 #include  <stdio.h>
 #include  <ctype.h>
@@ -28,7 +32,6 @@ MIT license.  Compile with -DMAIN to build the demonstrator.
 #include  <strings.h>
 #include  <stdlib.h>
 
-#include "fetchmail.h"
 #include "sdump.h"
 
 #ifndef MAIN