From c7a059e376bd0105ad470017a774715b112de8b4 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Tue, 28 Feb 2012 09:25:20 +0100 Subject: Compile SHA-2 code on systems without stdint.h stdint.h is a C99-ism, which isn't available everywhere. The sha.h header tells us we need 4 typedefs. Add these to qcryptographichash.cpp before including sha.h and comment out the stdint.h include in sha.h. Change-Id: I1ede9569fa7eaa84de3befeb3c58cc6a05aa522c Reviewed-by: Oliver Wolff Reviewed-by: Bradley T. Hughes --- src/3rdparty/rfc6234/sha.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/3rdparty/rfc6234') diff --git a/src/3rdparty/rfc6234/sha.h b/src/3rdparty/rfc6234/sha.h index 1ffd688079..9c26f0253c 100644 --- a/src/3rdparty/rfc6234/sha.h +++ b/src/3rdparty/rfc6234/sha.h @@ -70,7 +70,8 @@ * */ -#include +// stdint.h include commented out by Nokia, it is not available on all platforms. +// #include /* * If you do not have the ISO standard stdint.h header file, then you * must typedef the following: -- cgit v1.2.3