From: Florian Forster Date: Sat, 6 Nov 2010 11:21:30 +0000 (+0100) Subject: zeromq plugin: Include for htons(). X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=16067c3b1318405a8acc74404290ceb3950000ff;p=collectd.git zeromq plugin: Include for htons(). --- diff --git a/src/zeromq.c b/src/zeromq.c index 0c8e352d..80a98508 100644 --- a/src/zeromq.c +++ b/src/zeromq.c @@ -29,6 +29,10 @@ #include "utils_cache.h" #include "network.h" +/* for htons() */ +#if HAVE_ARPA_INET_H +# include +#endif #include #include