diff options
author | Brad King <brad.king@kitware.com> | 2018-08-09 15:51:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-09 15:51:22 (GMT) |
commit | 574666b6cb6ccfda0c638f1b08d5a227c2bd743e (patch) | |
tree | 0f376016c3103d5bbb82f3f179d058adcd94562a /Utilities | |
parent | ad4452d1bdabcdf039f812f2b709a905d76e8da0 (diff) | |
download | CMake-574666b6cb6ccfda0c638f1b08d5a227c2bd743e.zip CMake-574666b6cb6ccfda0c638f1b08d5a227c2bd743e.tar.gz CMake-574666b6cb6ccfda0c638f1b08d5a227c2bd743e.tar.bz2 |
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.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibrhash/librhash/rhash.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <string.h> /* memset() */ #include <stdlib.h> /* free() */ #include <stddef.h> /* ptrdiff_t */ |