aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 172eb17e..f94ba8ee 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -33,6 +33,10 @@
#include <netdb.h>
#endif /* HAVE_GETHOSTBYNAME */
+#ifdef SUNOS
+#include <stdlib.h>
+#endif
+
#include "fetchmail.h"
#include "tunable.h"
#include "smtp.h"