From 574666b6cb6ccfda0c638f1b08d5a227c2bd743e Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 9 Aug 2018 11:51:22 -0400 Subject: librhash: Avoid incorrect int8_t definition with PGI on Linux ppc64le `sys/types.h` defines `int8_t` incorrectly as `char` which is unsigned. Adjust ordering so `inttypes.h` defines it as `signed char` first. --- Utilities/cmlibrhash/librhash/rhash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/cmlibrhash/librhash/rhash.c b/Utilities/cmlibrhash/librhash/rhash.c index ad6249b..34e1eb3 100644 --- a/Utilities/cmlibrhash/librhash/rhash.c +++ b/Utilities/cmlibrhash/librhash/rhash.c @@ -18,6 +18,8 @@ #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 +#include "ustd.h" /* Need this first within CMake. */ + #include /* memset() */ #include /* free() */ #include /* ptrdiff_t */ -- cgit v0.12