summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/unix/unix.c')
-rw-r--r--imap/src/osdep/unix/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/unix/unix.c b/imap/src/osdep/unix/unix.c
index 4bbaa01a..ec8dab94 100644
--- a/imap/src/osdep/unix/unix.c
+++ b/imap/src/osdep/unix/unix.c
@@ -40,7 +40,9 @@
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
+#ifndef errno
extern int errno; /* just in case */
+#endif
#include <signal.h>
#include "mail.h"
#include "osdep.h"