summaryrefslogtreecommitdiff
path: root/amiga/fnv/fnv.h
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/fnv/fnv.h')
-rw-r--r--amiga/fnv/fnv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/amiga/fnv/fnv.h b/amiga/fnv/fnv.h
index 2083a4aa2..70f0e59fd 100644
--- a/amiga/fnv/fnv.h
+++ b/amiga/fnv/fnv.h
@@ -77,6 +77,7 @@
#define __FNV_H__
#include <sys/types.h>
+#include <inttypes.h>
#define FNV_VERSION "5.0.2" /* @(#) FNV Version */
@@ -84,7 +85,7 @@
/*
* 32 bit FNV-0 hash type
*/
-typedef u_int32_t Fnv32_t;
+typedef uint32_t Fnv32_t;
/*
@@ -115,7 +116,7 @@ typedef u_int32_t Fnv32_t;
/*
* determine how 64 bit unsigned values are represented
*/
-#include "longlong.h"
+//#include "longlong.h"
/*
@@ -125,7 +126,7 @@ typedef u_int32_t Fnv32_t;
typedef u_int64_t Fnv64_t;
#else /* HAVE_64BIT_LONG_LONG */
typedef struct {
- u_int32_t w32[2]; /* w32[0] is low order, w32[1] is high order word */
+ uint32_t w32[2]; /* w32[0] is low order, w32[1] is high order word */
} Fnv64_t;
#endif /* HAVE_64BIT_LONG_LONG */