From patchwork Wed Jan 30 15:03:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Tietz X-Patchwork-Id: 216936 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 971582C008E for ; Thu, 31 Jan 2013 02:03:52 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1360163032; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:In-Reply-To:References:Date:Message-ID: Subject:From:To:Cc:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=3tu9ZoKN8nWwtdD5X26TcLA6oGY=; b=bq4cTEjNQ6mmxQH PIJcW46YsW6ArxZTSplulriwAlW2TDVrKNf2Qz1Rbd9gmVfjdlZecnLoBTV7Si6P Cr+b5poofXrhcLRRLm+86N4OAkOXPaGTl4sjywxHMe+cRE3KUzfD/Z5ViFp3iQqa V04RwTKumMymFjT6zqe7oXtXZHPY= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:X-Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=JiycTl7/Bwp/DvjjunqWpSwVi9ZbLVoMTB01wF12IFN4r10MlMsFGWgU928kF0 AW90TshfzjwZhXFyh+Rwl7A6oyClztspPEL9HwxL3KzH4TneY3vVqG3CTPpEGBnt uQ4pv56EHsf1uqKHeIzGAt7Dhe9ENPnUGRxKq7D2m9hn0=; Received: (qmail 1564 invoked by alias); 30 Jan 2013 15:03:31 -0000 Received: (qmail 1539 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-f179.google.com (HELO mail-ia0-f179.google.com) (209.85.210.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Jan 2013 15:03:25 +0000 Received: by mail-ia0-f179.google.com with SMTP id x24so2457771iak.10 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 16:03:24 +0100 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 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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