summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_art.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2024-01-21 19:03:45 -0700
committerEduardo Chappa <chappa@washington.edu>2024-01-21 19:03:45 -0700
commita55202787df1d5cfd3e37cb4c021422ee4aa9530 (patch)
tree5e87cc67b7c0d5e1adcd686e9dc22f11a577e99c /imap/src/osdep/unix/os_art.c
parent0f19719595e79516fdf57e59d0661260c23a1df4 (diff)
downloadalpine-a55202787df1d5cfd3e37cb4c021422ee4aa9530.tar.xz
* Clean up some function definitions to comply with strict
prototypes. Suggested and worked in part by Holger Hoffstätte.
Diffstat (limited to 'imap/src/osdep/unix/os_art.c')
-rw-r--r--imap/src/osdep/unix/os_art.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/os_art.c b/imap/src/osdep/unix/os_art.c
index 8fb78028..f3111c01 100644
--- a/imap/src/osdep/unix/os_art.c
+++ b/imap/src/osdep/unix/os_art.c
@@ -36,7 +36,9 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
-extern int errno;
+#ifndef errno
+extern int errno; /* just in case */
+#endif
#include <pwd.h>
#include <sys/socket.h>
#include <time.h>