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