From def3beb6410857314fe4d17581c4c95ae0c230d1 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 15 Jun 2012 10:58:53 -0400 Subject: Fix compilation on older little-endian systems --- src/util/murmurhash3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/util/murmurhash3.c b/src/util/murmurhash3.c index 519fafaa1..80e52ed56 100644 --- a/src/util/murmurhash3.c +++ b/src/util/murmurhash3.c @@ -10,13 +10,14 @@ #include #include #include +#include /* 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 -- cgit