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.7' into 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
d158b93
..
aa753ce
100644
(file)
--- a/
src/libcollectdclient/network_parse.c
+++ b/
src/libcollectdclient/network_parse.c
@@
-43,10
+43,8
@@
#include <endian.h>
#elif HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
#include <endian.h>
#elif HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
-#elif defined(_AIX) && defined(__GNUC__)
-/* AIX is always big endian */
-#define be16toh(x) (x)
-#define be64toh(x) (x)
+#else /* fallback */
+#include "collectd/stdendian.h"
#endif
#if HAVE_GCRYPT_H
#endif
#if HAVE_GCRYPT_H