summaryrefslogtreecommitdiff
path: root/imap/src/osdep/amiga/mx.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/amiga/mx.c')
-rw-r--r--imap/src/osdep/amiga/mx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/amiga/mx.c b/imap/src/osdep/amiga/mx.c
index 7e2b022e..f2d6b3d3 100644
--- a/imap/src/osdep/amiga/mx.c
+++ b/imap/src/osdep/amiga/mx.c
@@ -30,7 +30,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 <pwd.h>