X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mx.h;h=3bb1e34a52473519f74929efb1fd0a5105431e49;hb=d31db10231e9ed89f64fdf6e0fb7cae182aa377e;hp=0a28f2b0c3c1667cdb160169ca4561aaf9a09ca2;hpb=c409da175f0925b1d064f218ad069aa11a3f0dcc;p=~andy%2Ffetchmail diff --git a/mx.h b/mx.h index 0a28f2b0..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,7 +16,8 @@ struct mxentry extern struct mxentry * getmxrecords(const char *); -/* some versions of FreeBSD should declare this but don't */ +#if !HAVE_DECL_H_ERRNO extern int h_errno; +#endif /* mx.h ends here */