Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From eb0086dc4ea8fe9cda069456287b3a29a2631d30 Mon Sep 17 00:00:00 2001 |
| 2 | From: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> |
| 3 | Date: Wed, 13 Dec 2017 16:18:45 +0900 |
| 4 | Subject: [PATCH] Fix the error of can't find header file |
| 5 | |
| 6 | Upstream-Status: Inappropriate [embedded specific] |
| 7 | This fix is just for yocto. |
| 8 | |
| 9 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> |
| 10 | --- |
| 11 | src/NCApplication.cc | 2 +- |
| 12 | src/NCstyle.h | 2 +- |
| 13 | src/NCurses.h | 2 +- |
| 14 | src/ncursesp.h | 2 +- |
| 15 | src/ncursesw.cc | 2 +- |
| 16 | src/ncursesw.h | 4 ++-- |
| 17 | 6 files changed, 7 insertions(+), 7 deletions(-) |
| 18 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | --- a/src/NCApplication.cc |
| 20 | +++ b/src/NCApplication.cc |
| 21 | @@ -23,7 +23,7 @@ |
| 22 | |
| 23 | /-*/ |
| 24 | |
| 25 | -#include <ncursesw/curses.h> |
| 26 | +#include <curses.h> |
| 27 | |
| 28 | #define YUILogComponent "ncurses" |
| 29 | #include <yui/YUILog.h> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 30 | --- a/src/NCstyle.h |
| 31 | +++ b/src/NCstyle.h |
| 32 | @@ -25,7 +25,7 @@ |
| 33 | #ifndef NCstyle_h |
| 34 | #define NCstyle_h |
| 35 | |
| 36 | -#include <ncursesw/ncurses.h> |
| 37 | +#include <ncurses.h> |
| 38 | |
| 39 | #include <iosfwd> |
| 40 | #include <string> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 41 | --- a/src/NCurses.h |
| 42 | +++ b/src/NCurses.h |
| 43 | @@ -34,7 +34,7 @@ |
| 44 | #include <yui/YWidget.h> |
| 45 | #include <yui/YMenuItem.h> |
| 46 | |
| 47 | -#include <ncursesw/curses.h> /* curses.h: #define NCURSES_CH_T cchar_t */ |
| 48 | +#include <curses.h> /* curses.h: #define NCURSES_CH_T cchar_t */ |
| 49 | #include <wchar.h> |
| 50 | |
| 51 | #include "ncursesw.h" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 52 | --- a/src/ncursesp.h |
| 53 | +++ b/src/ncursesp.h |
| 54 | @@ -28,7 +28,7 @@ |
| 55 | #include <iosfwd> |
| 56 | |
| 57 | #include "ncursesw.h" |
| 58 | -#include <ncursesw/panel.h> |
| 59 | +#include <panel.h> |
| 60 | |
| 61 | class NCursesPanel : public NCursesWindow |
| 62 | { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 63 | --- a/src/ncursesw.cc |
| 64 | +++ b/src/ncursesw.cc |
| 65 | @@ -47,7 +47,7 @@ |
| 66 | #include <iostream> |
| 67 | #include <stdlib.h> |
| 68 | #include <string.h> |
| 69 | -#include <ncursesw/term.h> |
| 70 | +#include <term.h> |
| 71 | #undef line |
| 72 | #undef columns |
| 73 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 74 | --- a/src/ncursesw.h |
| 75 | +++ b/src/ncursesw.h |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 76 | @@ -27,11 +27,11 @@ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 77 | |
| 78 | #include <iosfwd> |
| 79 | |
| 80 | -#include <ncursesw/curses.h> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 81 | +#include <curses.h> |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 82 | #ifndef NCURSES_CXX_IMPEXP |
| 83 | #define NCURSES_CXX_IMPEXP NCURSES_EXPORT_GENERAL_IMPORT |
| 84 | #endif |
| 85 | -#include <ncursesw/etip.h> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 86 | +#include <etip.h> |
| 87 | #include <cstdio> |
| 88 | #include <cstdarg> |
| 89 | #include <climits> |