commit 216c26cceba89a2a89e8154a90ef0df99547745e
parent 1b97128b47dd509a311c477fbb6d8e1ebd9d6c05
Author: Michael Elkins <me@mutt.org>
Date: Wed, 28 Feb 2001 01:02:50 +0000
fixed compiler warnings under Solaris 2.7
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/config.c b/config.c
@@ -24,6 +24,7 @@
#include <pwd.h>
#include <sys/types.h>
#include <string.h>
+#include <stdlib.h>
#include "isync.h"
static config_t *box = 0;
diff --git 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);
}