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 d9d6d403f551d5376c1b8fc4f941ea7235871920..485941a02d7541336b9596f0fb065d4e885bc7f4 100644 (file)
@@ -1,3 +1,7 @@
+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,
index 181bacc8e4cb0a9e16284e3ccaa0fb9fce1b939c..769573393d67f12c0a829276cad17721dbee3792 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;