summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/murmurhash3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/murmurhash3.c b/src/util/murmurhash3.c
index 519fafaa..80e52ed5 100644
--- a/src/util/murmurhash3.c
+++ b/src/util/murmurhash3.c
@@ -10,13 +10,14 @@
#include <stdint.h>
#include <endian.h>
#include <string.h>
+#include <byteswap.h>
/* support RHEL5 lack of definitions */
#ifndef le32toh
# if __BYTE_ORDER == __LITTLE_ENDIAN
# define le32toh(x) (x)
# else
-# define le32toh(x) __bswap_32 (x)
+# define le32toh(x) bswap_32 (x)
# endif
#endif