aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-09-19 23:54:45 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-09-19 23:54:45 +0000
commitde9c2733a448bdcd64917a82e42513e8f3ab6ac5 (patch)
treee0aa2fee2b799903ab529369052df6992e063972
parent5361b0bdcd075bd8afb1e309f8fece57dc4ae58d (diff)
downloadfetchmail-de9c2733a448bdcd64917a82e42513e8f3ab6ac5.tar.gz
fetchmail-de9c2733a448bdcd64917a82e42513e8f3ab6ac5.tar.bz2
fetchmail-de9c2733a448bdcd64917a82e42513e8f3ab6ac5.zip
Rearrange #include directives in an attempt to fix BerliOS Bug #4725,
Darwin 7.9 build fails in resource.h with ru_utime/ru_stime incomplete types. svn path=/trunk/; revision=4296
-rw-r--r--NEWS2
-rw-r--r--sink.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 85cc29e2..ab031a55 100644
--- 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 5483ca04..31da7dcd 100644
--- a/sink.c
+++ b/sink.c
@@ -32,14 +32,14 @@
#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"