aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-base.h
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-01-06 14:33:01 +0000
committerYao Qi <yao.qi@linaro.org>2017-01-06 14:33:01 +0000
commit44d6d3f93341387bd2c95ea4c941bf99127e7389 (patch)
treed378da2c4a3512eeb67f508ef10027171af8e9b6 /gdb/ser-base.h
parent656731fe0f5bae5bb788b0688cc36900128fcc2f (diff)
downloadgdb-44d6d3f93341387bd2c95ea4c941bf99127e7389.zip
gdb-44d6d3f93341387bd2c95ea4c941bf99127e7389.tar.gz
gdb-44d6d3f93341387bd2c95ea4c941bf99127e7389.tar.bz2
Include serial.h in ser-base.h.
$ make check-headers CHECK_HEADERS="ser-base.h" ... ../../binutils-gdb/gdb/ser-base.h:33:8: error: 'serial_ttystate' does not name a type extern serial_ttystate ser_base_get_tty_state (struct serial *scb); ^ gdb: 2017-01-06 Yao Qi <yao.qi@linaro.org> * ser-base.h: Include serial.h.
Diffstat (limited to 'gdb/ser-base.h')
-rw-r--r--gdb/ser-base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ser-base.h b/gdb/ser-base.h
index 06f9895..964d640 100644
--- a/gdb/ser-base.h
+++ b/gdb/ser-base.h
@@ -20,6 +20,8 @@
#ifndef SER_BASE_H
#define SER_BASE_H
+#include "serial.h" /* For serial_ttystate. */
+
struct serial;
struct ui_file;