diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-03-01 06:19:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-03-01 06:19:28 +0000 |
commit | f33c6cbfe5d16558554b5eda87a10625285b291c (patch) | |
tree | 6adb9322146266510cbf06f345d0efb0c85dc8ca /gdb/tui/tui.c | |
parent | 5ecaa7ddacc5999c6de487fc5841468f67dcb5fb (diff) | |
download | gdb-f33c6cbfe5d16558554b5eda87a10625285b291c.zip gdb-f33c6cbfe5d16558554b5eda87a10625285b291c.tar.gz gdb-f33c6cbfe5d16558554b5eda87a10625285b291c.tar.bz2 |
Add FIXME explaining include problem.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 18d706f..7912efc 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -1,5 +1,8 @@ /* General functions for the WDB TUI. - 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 <curses.h>, 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 <stdbool.h> via <curses.h> + 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 <curses.h> + first. */ + #include "config.h" #ifdef HAVE_NCURSES_H #include <ncurses.h> |