X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mx.h;h=3bb1e34a52473519f74929efb1fd0a5105431e49;hb=cb8d898683ffccdf8de42a5b1236a6cf3cdbb6ce;hp=57c23cdcaee90c2bfd015a8602c4ffa78068ebc9;hpb=cb236290e267f17d5f81a18d742b81f1b74b05a2;p=~andy%2Ffetchmail diff --git a/mx.h b/mx.h index 57c23cdc..3bb1e34a 100644 --- a/mx.h +++ b/mx.h @@ -1,4 +1,12 @@ -/* mx.h -- name-to-preference association for MX records */ +/* mx.h -- name-to-preference association for MX records. + * For license terms, see the file COPYING in this directory. + */ + +#include "config.h" + +#ifdef HAVE_NETDB_H +#include +#endif struct mxentry { @@ -8,4 +16,8 @@ struct mxentry extern struct mxentry * getmxrecords(const char *); +#if !HAVE_DECL_H_ERRNO +extern int h_errno; +#endif + /* mx.h ends here */