]> Pileus Git - ~andy/fetchmail/blobdiff - mx.h
Anticipate the IDLE extension.
[~andy/fetchmail] / mx.h
diff --git a/mx.h b/mx.h
index 57c23cdcaee90c2bfd015a8602c4ffa78068ebc9..cc0e28d5bffd49d72552ce82547e7af4f1710cb4 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -8,4 +8,10 @@ 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 */