From 216c26cceba89a2a89e8154a90ef0df99547745e Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 28 Feb 2001 01:02:50 +0000 Subject: [PATCH] fixed compiler warnings under Solaris 2.7 --- config.c | 1 + imap.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/config.c b/config.c index 106ece4..7ab6516 100644 --- a/config.c +++ b/config.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "isync.h" static config_t *box = 0; diff --git a/imap.c b/imap.c index 39e308b..70614fc 100644 --- a/imap.c +++ b/imap.c @@ -222,6 +222,9 @@ socket_perror (const char *func, Socket_t *sock, int ret) } return; } +#else + (void) sock; + (void) ret; #endif perror (func); }