X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mx.h;h=3bb1e34a52473519f74929efb1fd0a5105431e49;hb=464bab19acf0aaeb8c5512c2092042162266de2d;hp=30da95b5ed14c537f05b09b0c322c2a7c31b6fbc;hpb=443c351724ef9b9eff3327ed13940207ddf3838e;p=~andy%2Ffetchmail diff --git a/mx.h b/mx.h index 30da95b5..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 { @@ -6,8 +14,10 @@ struct mxentry int pref; }; -#ifdef HAVE_PROTOTYPES extern struct mxentry * getmxrecords(const char *); -#endif /* HAVE_PROTOTYPES */ + +#if !HAVE_DECL_H_ERRNO +extern int h_errno; +#endif /* mx.h ends here */