libcollectdclient: Include <netinet/in.h>.
authorFlorian Forster <octo@collectd.org>
Fri, 5 May 2017 12:11:44 +0000 (14:11 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 5 May 2017 12:11:44 +0000 (14:11 +0200)
We need to include this for a variety of symbols on FreeBSD.

src/libcollectdclient/server.c

index 50f6be1..dfe08de 100644 (file)
@@ -38,6 +38,7 @@
 #include <errno.h>
 #include <net/if.h>
 #include <netdb.h>
+#include <netinet/in.h>
 #include <string.h>
 #include <sys/socket.h>
 #include <sys/types.h>