From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1563 invoked by alias); 30 Jan 2013 15:03:30 -0000 Received: (qmail 1540 invoked by uid 22791); 30 Jan 2013 15:03:29 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ia0-f175.google.com (HELO mail-ia0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Jan 2013 15:03:25 +0000 Received: by mail-ia0-f175.google.com with SMTP id r4so2402759iaj.6 for ; Wed, 30 Jan 2013 07:03:25 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.194.167 with SMTP id hx7mr3858760igc.99.1359558205054; Wed, 30 Jan 2013 07:03:25 -0800 (PST) Received: by 10.64.34.172 with HTTP; Wed, 30 Jan 2013 07:03:24 -0800 (PST) In-Reply-To: References: Date: Wed, 30 Jan 2013 15:03:00 -0000 Message-ID: Subject: Re: [patch libiberty's include]: Fixes PR 39064 and partial PR 54620 From: Kai Tietz To: Rainer Orth Cc: Ian Lance Taylor , GCC Patches , Binutils , gdb Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00087.txt.bz2 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