]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tui/tuiSource.c
2002-02-08 Daniel Jacobowitz <drow@mvista.com>
[thirdparty/binutils-gdb.git] / gdb / tui / tuiSource.c
index 5dc5adec7e61e7e050aeafffab14d342b7bdbe38..3ad71bcc88bd5699638f05ca36807ba123a00c6c 100644 (file)
    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".  */
+#include "config.h"
+#ifdef HAVE_NCURSES_H       
+#include <ncurses.h>
+#else
+#ifdef HAVE_CURSES_H
+#include <curses.h>
+#endif
+#endif
+
 #include "defs.h"
 #include <ctype.h>
 #include "symtab.h"