From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1790 invoked by alias); 16 May 2006 20:22:33 -0000 Received: (qmail 1782 invoked by uid 22791); 16 May 2006 20:22:32 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 16 May 2006 20:22:31 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fg63o-0003U3-Uh; Tue, 16 May 2006 16:22:29 -0400 Date: Tue, 16 May 2006 20:23:00 -0000 From: Daniel Jacobowitz To: Masaki Muranaka Cc: gdb-patches@sourceware.org Subject: Re: Build failed on MinGW host, sh-elf target. Message-ID: <20060516202228.GA13210@nevyn.them.org> Mail-Followup-To: Masaki Muranaka , gdb-patches@sourceware.org References: <85848EC4-1618-4B6C-A5E7-7DD4F46BAF9F@monami-software.com> <20060515165817.GA385@nevyn.them.org> <91ADFB55-F787-4F02-B4EE-C4B3F62CB8AC@monami-software.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91ADFB55-F787-4F02-B4EE-C4B3F62CB8AC@monami-software.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00363.txt.bz2 On Tue, May 16, 2006 at 03:09:20PM +0900, Masaki Muranaka wrote: > Hello, Daniel. > > On 2006/05/16, at 1:58, Daniel Jacobowitz wrote: > >>2006-05-06 Masaki Muranaka > >> > >> * defs.h: Include if HAVE_TIME_H is defined. > > > >Does this happen anywhere besides ser-e7kpc.c? If not, I would rather > >add it to just that file. > > Hmm... It might be enough to add it to just ser-e7kpc.c. > > As far as I built, only ser-e7kpc.c. > (I built targets m32r-elf, mips64-elf, > xstormy16-elf, arm-elf, i386-elf, sh-elf, > m32c-elf, v850-elf, m68k-elf > on i686-pc-mingw32 host.) Thanks. I've checked in this, then. Please let us know if you find more problems! -- Daniel Jacobowitz CodeSourcery 2006-05-16 Daniel Jacobowitz * ser-e7kpc.c: Include if it is available. Index: ser-e7kpc.c =================================================================== RCS file: /cvs/src/src/gdb/ser-e7kpc.c,v retrieving revision 1.12 diff -u -p -r1.12 ser-e7kpc.c --- ser-e7kpc.c 17 Dec 2005 22:34:02 -0000 1.12 +++ ser-e7kpc.c 16 May 2006 20:20:10 -0000 @@ -33,6 +33,10 @@ #include #endif +#ifdef HAVE_TIME_H +#include +#endif + static int e7000pc_open (struct serial *scb, const char *name); static void e7000pc_raw (struct serial *scb); static int e7000pc_readchar (struct serial *scb, int timeout);