From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21900 invoked by alias); 2 Apr 2007 11:21:53 -0000 Received: (qmail 21879 invoked by uid 22791); 2 Apr 2007 11:21:52 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Apr 2007 12:21:49 +0100 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 48097217E4; Mon, 2 Apr 2007 13:21:47 +0200 (CEST) From: Andreas Schwab To: Joel Brobecker Cc: DJ Delorie , gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org Subject: Re: [RFA/libiberty] Enhance FILENAME_CMP for Windows filesystems References: <20070328191845.GB3956@adacore.com> <200703281930.l2SJUYLW003949@greed.delorie.com> <20070328193743.GC3956@adacore.com> <20070328202443.GD3956@adacore.com> <20070402063502.GB3963@adacore.com> X-Yow: RELATIVES!! Date: Mon, 02 Apr 2007 11:21:00 -0000 In-Reply-To: <20070402063502.GB3963@adacore.com> (Joel Brobecker's message of "Sun, 1 Apr 2007 23:35:02 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00009.txt.bz2 Joel Brobecker writes: >> > #ifdef HAVE_STRING_H >> > #include >> > #endif >> >> That won't work without #include "config.h". > > Ah ha! Ben Elliston wrote me privately that he gets a warning > on x86-linux (Ubunty) that strcmp.h is not defined. That would > probably explain it. Thank you! > > Unfortunately, I'm going to be unavailable for the next two of three > days. I'll try to fix it ASAP, but if someone could do this for me, > I would really appreciate it. I've checked this in. Andreas. 2007-04-02 Andreas Schwab * filename_cmp.c: Include "config.h". --- libiberty/filename_cmp.c.~1.1.~ 2007-03-29 23:03:48.000000000 +0200 +++ libiberty/filename_cmp.c 2007-04-01 22:59:02.000000000 +0200 @@ -16,6 +16,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef HAVE_STRING_H #include #endif -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."