summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_sv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/unix/os_sv2.c')
-rw-r--r--imap/src/osdep/unix/os_sv2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/os_sv2.c b/imap/src/osdep/unix/os_sv2.c
index 14e3951b..880995ff 100644
--- a/imap/src/osdep/unix/os_sv2.c
+++ b/imap/src/osdep/unix/os_sv2.c
@@ -36,7 +36,9 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
-extern int errno;
+#ifndef errno
+extern int errno; /* just in case */
+#endif
#include <pwd.h>
#include <sys/socket.h>
#include <time.h>