From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7753 invoked by alias); 8 Oct 2007 14:47:17 -0000 Received: (qmail 7745 invoked by uid 22791); 8 Oct 2007 14:47:16 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Oct 2007 14:47:13 +0000 Received: from ICSMULLER (laocoon.u-strasbg.fr [130.79.112.72]) by ics.u-strasbg.fr (Postfix) with ESMTP id 8BF1118701E; Mon, 8 Oct 2007 16:51:54 +0200 (CEST) From: "Pierre Muller" To: "'Mark Kettenis'" Cc: , References: <009d01c809a7$a52fc9a0$ef8f5ce0$@u-strasbg.fr> <200710081326.l98DQs62013226@brahms.sibelius.xs4all.nl> <009f01c809b1$f15c5280$d414f780$@u-strasbg.fr> <20071008135843.GL3570@adacore.com> <000001c809b5$4c51a9d0$e4f4fd70$@u-strasbg.fr> <200710081429.l98ETtZD002804@brahms.sibelius.xs4all.nl> In-Reply-To: <200710081429.l98ETtZD002804@brahms.sibelius.xs4all.nl> Subject: [RFA-v2] ARI fix: Replace dirent.h by gdb_dirent.h in linux-fork.c Date: Mon, 08 Oct 2007 14:47:00 -0000 Message-ID: <000201c809ba$2236e890$66a4b9b0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us 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-10/txt/msg00156.txt.bz2 Following Mark's remarks about the dangers of changing the order of the include files, I resubmit the patch without changing the order of includes. Ok to commit? Pierre ChangeLog entry: 2007-10-08 Pierre Muller * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of . Makefile.in (linux-fork.o): Add gdb_dirent.h dependency. Index: linux-fork.c =================================================================== RCS file: /cvs/src/src/gdb/linux-fork.c,v retrieving revision 1.14 diff -u -p -r1.14 linux-fork.c --- linux-fork.c 8 Oct 2007 14:40:42 -0000 1.14 +++ linux-fork.c 8 Oct 2007 14:42:49 -0000 @@ -30,7 +30,7 @@ #include #include "gdb_wait.h" #include -#include +#include "gdb_dirent.h" #include struct fork_info *fork_list; Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/Makefile.in,v retrieving revision 1.940 diff -u -p -r1.940 Makefile.in --- Makefile.in 8 Oct 2007 07:43:42 -0000 1.940 +++ Makefile.in 8 Oct 2007 14:42:50 -0000 @@ -2236,7 +2236,7 @@ linespec.o: linespec.c $(defs_h) $(symta $(objc_lang_h) $(linespec_h) $(exceptions_h) $(language_h) linux-fork.o: linux-fork.c $(defs_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) \ $(infcall_h) $(gdb_assert_h) $(gdb_string_h) $(linux_fork_h) \ - $(linux_nat_h) $(gdb_wait_h) + $(linux_nat_h) $(gdb_wait_h) $(gdb_dirent_h) linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \ $(gdb_wait_h) $(gdb_assert_h) $(linux_nat_h) $(gdbthread_h) \ $(gdbcmd_h) $(regcache_h) $(regset_h) $(inf_ptrace_h) $(auxv_h) \