summaryrefslogtreecommitdiff
path: root/imap/src/osdep/os2/os_os2.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/os2/os_os2.c')
-rw-r--r--imap/src/osdep/os2/os_os2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/os2/os_os2.c b/imap/src/osdep/os2/os_os2.c
index 9c6f2f5f..172b33e8 100644
--- a/imap/src/osdep/os2/os_os2.c
+++ b/imap/src/osdep/os2/os_os2.c
@@ -37,7 +37,9 @@
#include <netdb.h>
#include <ctype.h>
#include <errno.h>
+#ifndef errno
extern int errno; /* just in case */
+#endif
#include "tcp_os2.h" /* must be before osdep includes tcp.h */
#include "mail.h"
#include "osdep.h"