Code

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 7483019a9d5beec868ae6674843ac5f59ab4c403..43c2258724a575abc4f1709609ba5c334f6b7bab 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