Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | From f3fb4f12fac75efe0d8f1a923ad5992a7433d0db Mon Sep 17 00:00:00 2001 |
| 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Wed, 2 Mar 2022 06:22:15 +0000 |
| 4 | Subject: [PATCH] Use OE-specific checks for ncurses |
| 5 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 6 | Upstream-Status: Inappropriate [oe specific] |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 7 | |
| 8 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 9 | --- |
| 10 | src/include/hstr.h | 2 +- |
| 11 | src/include/hstr_curses.h | 2 +- |
| 12 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 13 | |
| 14 | diff --git a/src/include/hstr.h b/src/include/hstr.h |
| 15 | index 5eac881..c47cadb 100644 |
| 16 | --- a/src/include/hstr.h |
| 17 | +++ b/src/include/hstr.h |
| 18 | @@ -26,7 +26,7 @@ |
| 19 | #elif defined(__FreeBSD__) |
| 20 | #include <ncurses.h> |
| 21 | #else |
| 22 | - #include <ncursesw/curses.h> |
| 23 | + #include <curses.h> |
| 24 | #endif |
| 25 | #include <readline/chardefs.h> |
| 26 | #include <signal.h> |
| 27 | diff --git a/src/include/hstr_curses.h b/src/include/hstr_curses.h |
| 28 | index 8a50ab9..1f081a8 100644 |
| 29 | --- a/src/include/hstr_curses.h |
| 30 | +++ b/src/include/hstr_curses.h |
| 31 | @@ -24,7 +24,7 @@ |
| 32 | #elif defined(__FreeBSD__) |
| 33 | #include <ncurses.h> |
| 34 | #else |
| 35 | -#include <ncursesw/curses.h> |
| 36 | +#include <curses.h> |
| 37 | #endif |
| 38 | |
| 39 | #define color_attr_on(C) if(terminal_has_colors()) { attron(C); } |
| 40 | -- |
| 41 | 2.31.1 |
| 42 | |