summaryrefslogtreecommitdiff
path: root/imap/src/osdep/amiga/os_ami.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/amiga/os_ami.c')
-rw-r--r--imap/src/osdep/amiga/os_ami.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/amiga/os_ami.c b/imap/src/osdep/amiga/os_ami.c
index 9f0d27b0..90d611cc 100644
--- a/imap/src/osdep/amiga/os_ami.c
+++ b/imap/src/osdep/amiga/os_ami.c
@@ -39,7 +39,9 @@
#include <netdb.h>
#include <ctype.h>
#include <errno.h>
+#ifndef errno
extern int errno; /* just in case */
+#endif
#include <pwd.h>
#include "misc.h"