diff options
Diffstat (limited to 'readline/readline.c')
-rw-r--r-- | readline/readline.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/readline/readline.c b/readline/readline.c index de1142f..696abf6 100644 --- a/readline/readline.c +++ b/readline/readline.c @@ -1968,6 +1968,11 @@ static char *term_string_buffer = (char *)NULL; /* Non-zero means this terminal can't really do anything. */ int dumb_term = 0; +/* On Solaris2, sys/types.h brings in sys/reg.h, + which screws up the Termcap variable PC, used below. */ + +#undef PC + char PC; char *BC, *UP; |