X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_dns.c;h=655c61edf0764cc9911bab2a71e6556bc83405a0;hb=92999cbffb2f3aff8421938216864ccd901d908a;hp=80a2ee577f7213c4182a57b70e5f220d6d4d92fa;hpb=4bfd1fe12c8b7d1e212c04d2e0a069d37a2ffe0c;p=collectd.git diff --git a/src/utils_dns.c b/src/utils_dns.c index 80a2ee57..655c61ed 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -39,41 +39,16 @@ #include "plugin.h" #include "common.h" -#if HAVE_NETINET_IN_SYSTM_H -# include -#endif -#if HAVE_NETINET_IN_H -# include -#endif -#if HAVE_NETINET_IP6_H -# include -#endif -#if HAVE_NETINET_IP_COMPAT_H -# include -#endif -#if HAVE_ARPA_INET_H -# include -#endif #if HAVE_SYS_SOCKET_H # include #endif -#if HAVE_ARPA_NAMESER_H -# include -#endif -#if HAVE_ARPA_NAMESER_COMPAT_H -# include -#endif - #if HAVE_NET_IF_ARP_H # include #endif #if HAVE_NET_IF_H # include #endif -#if HAVE_NETINET_IF_ETHER_H -# include -#endif #if HAVE_NET_PPP_DEFS_H # include #endif @@ -81,23 +56,45 @@ # include #endif -#if HAVE_NETDB_H -# include +#if HAVE_NETINET_IN_SYSTM_H +# include +#endif +#if HAVE_NETINET_IN_H +# include +#endif +#if HAVE_NETINET_IP6_H +# include +#endif +#if HAVE_NETINET_IP_COMPAT_H +# include +#endif +#if HAVE_NETINET_IF_ETHER_H +# include #endif - #if HAVE_NETINET_IP_H # include #endif #ifdef HAVE_NETINET_IP_VAR_H # include #endif -#if HAVE_NETINET_IP6_H -# include -#endif #if HAVE_NETINET_UDP_H # include #endif +#if HAVE_ARPA_INET_H +# include +#endif +#if HAVE_ARPA_NAMESER_H +# include +#endif +#if HAVE_ARPA_NAMESER_COMPAT_H +# include +#endif + +#if HAVE_NETDB_H +# include +#endif + #if HAVE_PCAP_H # include #endif