summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_hpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/unix/os_hpp.c')
-rw-r--r--imap/src/osdep/unix/os_hpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/unix/os_hpp.c b/imap/src/osdep/unix/os_hpp.c
index 39794973..ca7f1cdc 100644
--- a/imap/src/osdep/unix/os_hpp.c
+++ b/imap/src/osdep/unix/os_hpp.c
@@ -44,7 +44,9 @@
#include <netdb.h>
#include <ctype.h>
#include <errno.h>
+#ifndef errno
extern int errno; /* just in case */
+#endif
extern char *sys_errlist[];
extern int sys_nerr;
#include <pwd.h>