diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | fetchmail.h | 2 | ||||
-rw-r--r-- | socket.h | 2 |
3 files changed, 5 insertions, 0 deletions
@@ -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 diff --git a/fetchmail.h b/fetchmail.h index 2ea7972e..7c63e22a 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -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> @@ -7,6 +7,8 @@ #ifndef SOCKET__ #define SOCKET__ +struct addrinfo; + #include <config.h> #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> |