summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_nto.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/unix/os_nto.c')
-rw-r--r--imap/src/osdep/unix/os_nto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/unix/os_nto.c b/imap/src/osdep/unix/os_nto.c
index 36c45b42..0dfcd833 100644
--- a/imap/src/osdep/unix/os_nto.c
+++ b/imap/src/osdep/unix/os_nto.c
@@ -38,7 +38,9 @@
#include <netdb.h>
#include <ctype.h>
#include <errno.h>
+#ifndef errno
extern int errno; /* just in case */
+#endif
#include <pwd.h>
#include <shadow.h>
#include <sys/select.h>