Include gdb_curses.h in tui-wingeneral.h
authorTom Tromey <tom@tromey.com>
Mon, 21 Jan 2019 21:18:25 +0000 (14:18 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 03:35:59 +0000 (20:35 -0700)
tui-wingeneral.h uses WINDOW, which is defined by curses.  So, include
gdb_curses.h from tui-wingeneral.h.

2019-01-22  Tom Tromey  <tom@tromey.com>

* tui/tui-wingeneral.h: Include gdb_curses.h.

gdb/ChangeLog
gdb/tui/tui-wingeneral.h

index d9d6d40..485941a 100644 (file)
@@ -1,5 +1,9 @@
 2019-01-22  Tom Tromey  <tom@tromey.com>
 
+       * tui/tui-wingeneral.h: Include gdb_curses.h.
+
+2019-01-22  Tom Tromey  <tom@tromey.com>
+
        * source-cache.h (class source_cache) <get_source_lines,
        get_plain_source_lines, extract_lines>: Rename "lines" parameter.
 
index 181bacc..7695733 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef TUI_WINGENERAL_H
 #define TUI_WINGENERAL_H
 
+#include "gdb_curses.h"
+
 struct tui_win_info;
 struct tui_gen_win_info;