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.
This commit is contained in:
parent
656731fe0f
commit
44d6d3f933
@ -1,3 +1,7 @@
|
||||
2017-01-06 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* ser-base.h: Include serial.h.
|
||||
|
||||
2017-01-06 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* ppc-linux-tdep.h: Include ppc-tdep.h.
|
||||
|
@ -20,6 +20,8 @@
|
||||
#ifndef SER_BASE_H
|
||||
#define SER_BASE_H
|
||||
|
||||
#include "serial.h" /* For serial_ttystate. */
|
||||
|
||||
struct serial;
|
||||
struct ui_file;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user