From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24351 invoked by alias); 6 May 2006 04:10:18 -0000 Received: (qmail 24338 invoked by uid 22791); 6 May 2006 04:10:17 -0000 X-Spam-Check-By: sourceware.org Received: from p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp (HELO www2.pizzafactory.jp) (222.147.75.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 06 May 2006 04:10:01 +0000 Received: from [10.4.3.3] (s23.gtokyofl12.vectant.ne.jp [222.228.213.23]) by www2.pizzafactory.jp (Postfix) with ESMTP id 439A2409E27 for ; Sat, 6 May 2006 13:09:58 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v749.3) Content-Transfer-Encoding: 7bit Message-Id: <85848EC4-1618-4B6C-A5E7-7DD4F46BAF9F@monami-software.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: gdb-patches@sourceware.org From: Masaki Muranaka Subject: Build failed on MinGW host, sh-elf target. Date: Sat, 06 May 2006 04:10:00 -0000 X-Mailer: Apple Mail (2.749.3) 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/msg00140.txt.bz2 Hello All, GDB build was failed at ser-e7kpc.c on MinGW host, sh-elf target. (there is no build failure on the linux host, sh-elf target.) The error messages is follows: ../../src/gdb/ser-e7kpc.c:232: warning: implicit declaration of function `time' make[2]: *** [ser-e7kpc.o] Error 1 - - - - - - 2006-05-06 Masaki Muranaka * defs.h: Include if HAVE_TIME_H is defined. - - - - - - Index: gdb/defs.h =================================================================== RCS file: /cvs/src/src/gdb/defs.h,v retrieving revision 1.194 diff -u -p -r1.194 defs.h --- gdb/defs.h 25 Feb 2006 04:36:39 -0000 1.194 +++ gdb/defs.h 6 May 2006 04:02:33 -0000 @@ -39,6 +39,10 @@ #include #endif +#ifdef HAVE_TIME_H +#include +#endif + #include /* First include ansidecl.h so we can use the various macro definitions -- Masaki Muranaka Monami software