aboutsummaryrefslogtreecommitdiffstats
path: root/mx.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-29 20:57:39 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-29 20:57:39 +0000
commit9e818012346fbee36ba481866b3d0005ac6816ea (patch)
tree00711e32e8c2086811cc9d73524df0c0baae00bb /mx.h
parent4463f8ee55798e6bc0f28cf43741f940eb6c1d7a (diff)
downloadfetchmail-9e818012346fbee36ba481866b3d0005ac6816ea.tar.gz
fetchmail-9e818012346fbee36ba481866b3d0005ac6816ea.tar.bz2
fetchmail-9e818012346fbee36ba481866b3d0005ac6816ea.zip
Compilation fix for AIX.
svn path=/trunk/; revision=2625
Diffstat (limited to 'mx.h')
-rw-r--r--mx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mx.h b/mx.h
index 0a28f2b0..cc0e28d5 100644
--- a/mx.h
+++ b/mx.h
@@ -9,6 +9,9 @@ struct mxentry
extern struct mxentry * getmxrecords(const char *);
/* some versions of FreeBSD should declare this but don't */
+/* But only declare it if it isn't already */
+#ifndef h_errno
extern int h_errno;
+#endif /* ndef h_errno */
/* mx.h ends here */