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 | |
| 19 | diff --git a/src/NCApplication.cc b/src/NCApplication.cc |
| 20 | index 5bcf969..510f034 100644 |
| 21 | --- a/src/NCApplication.cc |
| 22 | +++ b/src/NCApplication.cc |
| 23 | @@ -23,7 +23,7 @@ |
| 24 | |
| 25 | /-*/ |
| 26 | |
| 27 | -#include <ncursesw/curses.h> |
| 28 | +#include <curses.h> |
| 29 | |
| 30 | #define YUILogComponent "ncurses" |
| 31 | #include <yui/YUILog.h> |
| 32 | diff --git a/src/NCstyle.h b/src/NCstyle.h |
| 33 | index a40d5a8..3657917 100644 |
| 34 | --- a/src/NCstyle.h |
| 35 | +++ b/src/NCstyle.h |
| 36 | @@ -25,7 +25,7 @@ |
| 37 | #ifndef NCstyle_h |
| 38 | #define NCstyle_h |
| 39 | |
| 40 | -#include <ncursesw/ncurses.h> |
| 41 | +#include <ncurses.h> |
| 42 | |
| 43 | #include <iosfwd> |
| 44 | #include <string> |
| 45 | diff --git a/src/NCurses.h b/src/NCurses.h |
| 46 | index a07c6bf..d17d3c3 100644 |
| 47 | --- a/src/NCurses.h |
| 48 | +++ b/src/NCurses.h |
| 49 | @@ -34,7 +34,7 @@ |
| 50 | #include <yui/YWidget.h> |
| 51 | #include <yui/YMenuItem.h> |
| 52 | |
| 53 | -#include <ncursesw/curses.h> /* curses.h: #define NCURSES_CH_T cchar_t */ |
| 54 | +#include <curses.h> /* curses.h: #define NCURSES_CH_T cchar_t */ |
| 55 | #include <wchar.h> |
| 56 | |
| 57 | #include "ncursesw.h" |
| 58 | diff --git a/src/ncursesp.h b/src/ncursesp.h |
| 59 | index d478347..2fcfea5 100644 |
| 60 | --- a/src/ncursesp.h |
| 61 | +++ b/src/ncursesp.h |
| 62 | @@ -28,7 +28,7 @@ |
| 63 | #include <iosfwd> |
| 64 | |
| 65 | #include "ncursesw.h" |
| 66 | -#include <ncursesw/panel.h> |
| 67 | +#include <panel.h> |
| 68 | |
| 69 | class NCursesPanel : public NCursesWindow |
| 70 | { |
| 71 | diff --git a/src/ncursesw.cc b/src/ncursesw.cc |
| 72 | index 3c771af..bb83210 100644 |
| 73 | --- a/src/ncursesw.cc |
| 74 | +++ b/src/ncursesw.cc |
| 75 | @@ -47,7 +47,7 @@ |
| 76 | #include <iostream> |
| 77 | #include <stdlib.h> |
| 78 | #include <string.h> |
| 79 | -#include <ncursesw/term.h> |
| 80 | +#include <term.h> |
| 81 | #undef line |
| 82 | #undef columns |
| 83 | |
| 84 | diff --git a/src/ncursesw.h b/src/ncursesw.h |
| 85 | index d25923a..c140d37 100644 |
| 86 | --- a/src/ncursesw.h |
| 87 | +++ b/src/ncursesw.h |
| 88 | @@ -27,8 +27,8 @@ |
| 89 | |
| 90 | #include <iosfwd> |
| 91 | |
| 92 | -#include <ncursesw/curses.h> |
| 93 | -#include <ncursesw/etip.h> |
| 94 | +#include <curses.h> |
| 95 | +#include <etip.h> |
| 96 | #include <cstdio> |
| 97 | #include <cstdarg> |
| 98 | #include <climits> |
| 99 | -- |
| 100 | 2.7.4 |
| 101 | |