components/bash/patches/solaris-025.libreadline.terminal.c.patch
changeset 5518 c47fe0edc204
equal deleted inserted replaced
5517:7758049098f4 5518:c47fe0edc204
       
     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 @@
       
     9  
       
    10  #include <stdio.h>
       
    11  
       
    12 +#if defined(SOLARIS)
       
    13 +# include <ncurses/ncurses.h>
       
    14 +#endif
       
    15 +
       
    16  /* System-specific feature definitions and include files. */
       
    17  #include "rldefs.h"
       
    18