Code

src/libcollectdclient/network.c: Fix the build on FreeBSD.
authorEd Schouten <ed@80386.nl>
Sat, 17 Nov 2012 09:47:07 +0000 (10:47 +0100)
committerFlorian Forster <octo@collectd.org>
Sat, 17 Nov 2012 11:42:48 +0000 (12:42 +0100)
commit39c70ef038bc5b399aa05bb49976f80a6480ed8d
treeb822e0f90ee29fb9f5c18c4a1f7aff2968dad37b
parent7bd436249b37b04807bbe7491998a9528056919f
src/libcollectdclient/network.c: Fix the build on FreeBSD.

On FreeBSD, we have to include <netinet/in.h> to get IN_MULTICAST(). We
don't need to include anything extra, as according to POSIX,
<netinet/in.h> also exposes htonl(). There is no need to include
<arpa/inet.h>.

Signed-off-by: Florian Forster <octo@collectd.org>
src/libcollectdclient/network.c