Cross Reference: solaris-026.libreadline.display.c.patch
xref
: /
solaris-userland
/
components
/
bash
/
patches
/
solaris-026.libreadline.display.c.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
5516
N/A
# If bash uses ncurses, then its own copy of libreadline should
5516
N/A
# use ncurses too.
5516
N/A
# Solaris-specific. On Linux, the <
ncurses.h
> header file is named
5516
N/A
# <
curses.h
>.
5516
N/A
# We should submit this upstream.
5516
N/A
---
lib/readline/display.c
2015-04-02 11:04:32.395423459 -0700
5516
N/A
+++
lib/readline/display.c
2015-04-02 11:05:13.614898815 -0700
5516
N/A
@@ -41,6 +41,10 @@
5516
N/A
5516
N/A
#include <
stdio.h
>
5516
N/A
5516
N/A
+#if defined(SOLARIS)
5516
N/A
+# include <
ncurses/ncurses.h
>
5516
N/A
+#endif
5516
N/A
+
5516
N/A
#ifdef __MSDOS__
5516
N/A
# include <
pc.h
>
5516
N/A
#endif