perl: puname
[unleashed-userland.git] / components / shell / bash / patches / solaris-025.libreadline.terminal.c.patch
blob2c46ce85b10abeb918eea4514350c822377edaeb
1 # If bash uses ncurses, then its own copy of libreadline should
2 # use ncurses too.
3 # Solaris-specific. On Linux, the <ncurses.h> header file is named
4 # <curses.h>.
5 # We should submit this upstream.
6 --- lib/readline/terminal.c 2013-09-18 06:12:01.000000000 -0700
7 +++ lib/readline/terminal.c 2015-04-02 11:02:07.348094364 -0700
8 @@ -48,6 +48,10 @@
10 #include <stdio.h>
12 +#if defined(SOLARIS)
13 +# include <ncurses/ncurses.h>
14 +#endif
16 /* System-specific feature definitions and include files. */
17 #include "rldefs.h"