summaryrefslogtreecommitdiffstats
path: root/src/util/murmurhash3.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-08-16 04:56:47 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-16 13:34:19 +0200
commit56ad566af1e595dacfcc5a213d906e8070bb263c (patch)
treeee2d0e72d1ba88eb64b16dcba49027e0766c7c47 /src/util/murmurhash3.h
parentf004e23af14fe020d81b8f97f30b448105b79606 (diff)
downloadsssd-56ad566af1e595dacfcc5a213d906e8070bb263c.tar.gz
sssd-56ad566af1e595dacfcc5a213d906e8070bb263c.tar.xz
sssd-56ad566af1e595dacfcc5a213d906e8070bb263c.zip
Fix compilation error in Python murmurhash bindings
The compilation produced an error due to missing declaration of uint32_t and a couple of warnings caused by different prototypes of argument parsing functions in older Python releases.
Diffstat (limited to 'src/util/murmurhash3.h')
-rw-r--r--src/util/murmurhash3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/murmurhash3.h b/src/util/murmurhash3.h
index 9174554b9..db7d8a48c 100644
--- a/src/util/murmurhash3.h
+++ b/src/util/murmurhash3.h
@@ -6,5 +6,7 @@
* clients can be both 64 or 32 bit at the same time.
*/
+#include <stdint.h>
+
uint32_t murmurhash3(const char *key, int len, uint32_t seed);