From patchwork Wed Jan 30 15:03:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [libiberty's,include] : Fixes PR 39064 and partial PR 54620 Date: Wed, 30 Jan 2013 05:03:24 -0000 From: Kai Tietz X-Patchwork-Id: 216936 Message-Id: To: Rainer Orth Cc: Ian Lance Taylor , GCC Patches , Binutils , gdb Hmm, I see ... so we need an new condition. Is it ok to apply? Thanks, Kai Index: md5.h =================================================================== --- md5.h (Revision 195572) +++ md5.h (Arbeitskopie) @@ -40,6 +40,11 @@ # include typedef u_int32_t md5_uint32; typedef uintptr_t md5_uintptr; +#elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H) +#include +#include +typedef uint32_t md5_uint32; +typedef uintptr_t md5_uintptr; #else # define INT_MAX_32_BITS 2147483647 Index: sha1.h =================================================================== --- sha1.h (Revision 195572) +++ sha1.h (Arbeitskopie) @@ -39,6 +39,11 @@ # include typedef u_int32_t sha1_uint32; typedef uintptr_t sha1_uintptr; +#elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H) +#include +#include +typedef uint32_t sha1_uint32; +typedef uintptr_t sha1_uintptr; #else # define INT_MAX_32_BITS 2147483647