From f33c6cbfe5d16558554b5eda87a10625285b291c Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 1 Mar 2002 06:19:28 +0000 Subject: Add FIXME explaining include problem. --- gdb/tui/tuiCommand.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'gdb/tui/tuiCommand.c') diff --git a/gdb/tui/tuiCommand.c b/gdb/tui/tuiCommand.c index fd868e2..ca3d531 100644 --- a/gdb/tui/tuiCommand.c +++ b/gdb/tui/tuiCommand.c @@ -1,5 +1,8 @@ /* Specific command window processing. - Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + + Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, + Inc. + Contributed by Hewlett-Packard Company. This file is part of GDB. @@ -19,7 +22,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* If we need , we must include it before we get "bfd.h". */ +/* FIXME: cagney/2002-02-28: The GDB coding standard indicates that + "defs.h" should be included first. Unfortunatly some systems + (currently Debian GNU/Linux) include the via + and they clash with "bfd.h"'s definiton of true/false. The correct + fix is to remove true/false from "bfd.h", however, until that + happens, hack around it by including "config.h" and + first. */ + #include "config.h" #ifdef HAVE_NCURSES_H #include -- cgit v1.1