aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--fetchmail.h2
-rw-r--r--socket.h2
3 files changed, 5 insertions, 0 deletions
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 <sys/types.h>
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 <config.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>