summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-21 14:18:25 -0700
committerTom Tromey <tom@tromey.com>2019-01-22 20:35:59 -0700
commit93cc1d53f545e84c279c890c6309f3feddd39212 (patch)
tree8684dde775e510065bb98aef83e3c7783722fe0a
parent38561778f3c6a6af98355925bcfd5d3c1e39a484 (diff)
downloadbinutils-gdb-93cc1d53f545e84c279c890c6309f3feddd39212.tar.gz
Include gdb_curses.h in tui-wingeneral.h
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/tui/tui-wingeneral.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d9d6d403f55..485941a02d7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h
index 181bacc8e4c..769573393d6 100644
--- a/gdb/tui/tui-wingeneral.h
+++ b/gdb/tui/tui-wingeneral.h
@@ -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;