Add FIXME explaining include problem.
This commit is contained in:
parent
5ecaa7ddac
commit
f33c6cbfe5
17 changed files with 203 additions and 30 deletions
10
gdb/utils.c
10
gdb/utils.c
|
@ -20,10 +20,16 @@
|
|||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* 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"
|
||||
|
||||
/* Include before "bfd.h" so that we get stdbool.h in time, if <curses.h>
|
||||
brings it in. */
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue