diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-08-13 23:11:43 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-08-13 23:11:43 +0000 |
commit | 2ca611e2b6ad8baeb1b1b96fbf916138204f7676 (patch) | |
tree | 9a038435053cc60994814133b3d3bbd53c746790 | |
parent | 266b9522bc49321eef45f0de64032dc915be0165 (diff) | |
download | fetchmail-2ca611e2b6ad8baeb1b1b96fbf916138204f7676.tar.gz fetchmail-2ca611e2b6ad8baeb1b1b96fbf916138204f7676.tar.bz2 fetchmail-2ca611e2b6ad8baeb1b1b96fbf916138204f7676.zip |
fix compilation on systems that don't know struct addrinfo (Solaris 2.6).
svn path=/branches/BRANCH_6-3/; revision=4891
-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> |