about summary refs log tree commit diff
path: root/locale/programs/simple-hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/simple-hash.h')
-rw-r--r--locale/programs/simple-hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/programs/simple-hash.h b/locale/programs/simple-hash.h
index b41c233b06..e0c32bcc34 100644
--- a/locale/programs/simple-hash.h
+++ b/locale/programs/simple-hash.h
@@ -19,6 +19,7 @@
 #ifndef _SIMPLE_HASH_H
 #define _SIMPLE_HASH_H
 
+#include <inttypes.h>
 #include <obstack.h>
 
 typedef struct hash_table
@@ -45,7 +46,7 @@ extern int iterate_table (const hash_table *htab, void **ptr,
 			  const void **key, size_t *keylen, void **data)
      __THROW;
 
-extern unsigned long int compute_hashval (const void *key, size_t keylen)
+extern uint32_t compute_hashval (const void *key, size_t keylen)
      __THROW;
 extern unsigned long int next_prime (unsigned long int seed) __THROW;