libcollectdclient: Include <stdlib.h> and <string.h>.
authorFlorian Forster <octo@collectd.org>
Wed, 30 Aug 2017 09:14:50 +0000 (11:14 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 30 Aug 2017 09:14:50 +0000 (11:14 +0200)
For free(3) and memmove(3) respectively.

src/libcollectdclient/network_parse.c

index 7483019..43c2258 100644 (file)
@@ -35,6 +35,8 @@
 #include <errno.h>
 #include <math.h>
 #include <pthread.h>
+#include <stdlib.h>
+#include <string.h>
 
 /* for be{16,64}toh */
 #if HAVE_ENDIAN_H