From: Florian Forster Date: Thu, 3 Feb 2011 22:42:28 +0000 (+0100) Subject: src/common.c: Include before . X-Git-Tag: collectd-5.0.0~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=330fdcfbbbfaaec1fb5b39d036e51376a3fc18f2;p=collectd.git src/common.c: Include before . --- diff --git a/src/common.c b/src/common.c index 142d7979..6fdb441c 100644 --- a/src/common.c +++ b/src/common.c @@ -39,11 +39,6 @@ # include #endif -/* for ntohl and htonl */ -#if HAVE_ARPA_INET_H -# include -#endif - /* for getaddrinfo */ #include #include @@ -53,6 +48,11 @@ # include #endif +/* for ntohl and htonl */ +#if HAVE_ARPA_INET_H +# include +#endif + #ifdef HAVE_LIBKSTAT extern kstat_ctl_t *kc; #endif