From 2ca611e2b6ad8baeb1b1b96fbf916138204f7676 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 13 Aug 2006 23:11:43 +0000 Subject: [PATCH] fix compilation on systems that don't know struct addrinfo (Solaris 2.6). svn path=/branches/BRANCH_6-3/; revision=4891 --- NEWS | 1 + fetchmail.h | 2 ++ socket.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 4f110ccf..589f0a0f 100644 --- 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 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 diff --git a/socket.h b/socket.h index fb86b17e..ca5877fe 100644 --- a/socket.h +++ b/socket.h @@ -7,6 +7,8 @@ #ifndef SOCKET__ #define SOCKET__ +struct addrinfo; + #include #ifdef HAVE_SYS_SOCKET_H #include -- 2.43.2