diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-15 10:58:53 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-15 14:38:22 -0400 |
commit | def3beb6410857314fe4d17581c4c95ae0c230d1 (patch) | |
tree | 70af4717981a31b6ff0aacdf6d8efea1334e27b5 /src | |
parent | 42ea38d7d06673bf6dc16ccfbd19e27f0a696b28 (diff) | |
download | sssd-def3beb6410857314fe4d17581c4c95ae0c230d1.tar.gz sssd-def3beb6410857314fe4d17581c4c95ae0c230d1.tar.bz2 sssd-def3beb6410857314fe4d17581c4c95ae0c230d1.zip |
Fix compilation on older little-endian systems
Diffstat (limited to 'src')
-rw-r--r-- | src/util/murmurhash3.c | 3 |
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 |