projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.8'
[collectd.git]
/
src
/
libcollectdclient
/
network_parse.c
diff --git
a/src/libcollectdclient/network_parse.c
b/src/libcollectdclient/network_parse.c
index
14c1b28
..
a8f6bd6
100644
(file)
--- a/
src/libcollectdclient/network_parse.c
+++ b/
src/libcollectdclient/network_parse.c
@@
-36,6
+36,7
@@
#include <errno.h>
#include <math.h>
#include <pthread.h>
#include <errno.h>
#include <math.h>
#include <pthread.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
@@
-45,7
+46,7
@@
#elif HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
#else /* fallback */
#elif HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
#else /* fallback */
-#include "stdendian.h"
+#include "
collectd/
stdendian.h"
#endif
#if HAVE_GCRYPT_H
#endif
#if HAVE_GCRYPT_H
@@
-220,7
+221,7
@@
static int parse_time(uint16_t type, void *payload, size_t payload_size,
static double ntohd(double val) /* {{{ */
{
static double ntohd(double val) /* {{{ */
{
- static int config
= 0
;
+ static int config;
union {
uint8_t byte[8];
union {
uint8_t byte[8];