]> Pileus Git - ~andy/fetchmail/commitdiff
fix compilation on systems that don't know struct addrinfo (Solaris 2.6).
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 13 Aug 2006 23:11:43 +0000 (23:11 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 13 Aug 2006 23:11:43 +0000 (23:11 -0000)
svn path=/branches/BRANCH_6-3/; revision=4891

NEWS
fetchmail.h
socket.h

diff --git a/NEWS b/NEWS
index 4f110ccf5c69e8b121b0d72cb4911e3598d688eb..589f0a0f96c9fb03fb6047c9481d7453aba85e03 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -103,6 +103,7 @@ fetchmail 6.3.5 (not yet released):
 * --logfile is now handled more carefully, errors opening the logfile are
   now reported to the TTY where fetchmail was started from.
 * fetchmail now complains and aborts when it cannot properly daemonize itself.
+* fix compilation on systems that don't know struct addrinfo (Solaris 2.6).
 
 # CHANGES:
 * Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes
index 2ea7972e9caac545bdf2914e339cedad70475499..7c63e22a8396d8f561a054e7f137f2fa6c987e04 100644 (file)
@@ -8,6 +8,8 @@
 /* We need this for HAVE_STDARG_H, etc */
 #include "config.h"
 
+struct addrinfo;
+
 /* We need this for size_t */
 #include <sys/types.h>
 
index fb86b17ed9915ee9f6035b0f23a9a5b97e101125..ca5877fed034fcefbeeb4e519bdd25a3eff604a1 100644 (file)
--- a/socket.h
+++ b/socket.h
@@ -7,6 +7,8 @@
 #ifndef SOCKET__
 #define SOCKET__
 
+struct addrinfo;
+
 #include <config.h>
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>