]> Pileus Git - ~andy/fetchmail/commitdiff
Rearrange #include directives in an attempt to fix BerliOS Bug #4725,
authorMatthias Andree <matthias.andree@gmx.de>
Mon, 19 Sep 2005 23:54:45 +0000 (23:54 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Mon, 19 Sep 2005 23:54:45 +0000 (23:54 -0000)
Darwin 7.9 build fails in resource.h with ru_utime/ru_stime incomplete types.

svn path=/trunk/; revision=4296

NEWS
sink.c

diff --git a/NEWS b/NEWS
index 85cc29e216a24bb74923ad281e45c0c5c705c7f7..ab031a553cc202aeebc3ec27b2667749f802c0cd 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -195,6 +195,8 @@ fetchmail 6.3.0 (not yet released officially):
 * Fixes to --with-hesiod option. Sunil Shetye. (MA)
 * Delete oversized messages with the news --limitflush option. Debian
   Bug#212240. Sunil Shetye. (MA)
+* Fix MacOS X compilation failures in sink.c (ru_*time has incomplete type).
+  Berlios Bug #4725. Matthias Andree.
 
 # INTERNAL CHANGES
 * Switched to automake. Matthias Andree.
diff --git a/sink.c b/sink.c
index 5483ca043e49da9000576404d294ded172043c5e..31da7dcd449d0b708e0e186d1b4562e2a291ea16 100644 (file)
--- a/sink.c
+++ b/sink.c
 #include  <ctype.h>
 #include  <langinfo.h>
 
+#include  "fetchmail.h"
+
 /* for W* macros after pclose() */
 #define _USE_BSD
 #include <sys/types.h>
 #include <sys/resource.h>
 #include <sys/wait.h>
 
-
-#include  "fetchmail.h"
 #include  "socket.h"
 #include  "smtp.h"
 #include  "i18n.h"