projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa5b32
)
libcollectdclient: Include <stdlib.h> and <string.h>.
author
Florian Forster
<octo@collectd.org>
Wed, 30 Aug 2017 09:14:50 +0000
(11:14 +0200)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/network_parse.c
b/src/libcollectdclient/network_parse.c
index
7483019
..
43c2258
100644
(file)
--- a/
src/libcollectdclient/network_parse.c
+++ b/
src/libcollectdclient/network_parse.c
@@
-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