blob: 1affe84f6e99103180f6b987f51f1ec7199a0d90 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From eb0086dc4ea8fe9cda069456287b3a29a2631d30 Mon Sep 17 00:00:00 2001
2From: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
3Date: Wed, 13 Dec 2017 16:18:45 +0900
4Subject: [PATCH] Fix the error of can't find header file
5
6Upstream-Status: Inappropriate [embedded specific]
7This fix is just for yocto.
8
9Signed-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 Bishop316dfdd2018-06-25 12:45:53 -040019--- 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 Bishop316dfdd2018-06-25 12:45:53 -040030--- 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 Bishop316dfdd2018-06-25 12:45:53 -040041--- 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 Bishop316dfdd2018-06-25 12:45:53 -040052--- 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 Bishop316dfdd2018-06-25 12:45:53 -040063--- 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 Bishop316dfdd2018-06-25 12:45:53 -040074--- a/src/ncursesw.h
75+++ b/src/ncursesw.h
Andrew Geissler97771a32021-03-05 15:23:11 -060076@@ -27,11 +27,11 @@
Brad Bishop316dfdd2018-06-25 12:45:53 -040077
78 #include <iosfwd>
79
80-#include <ncursesw/curses.h>
Brad Bishop316dfdd2018-06-25 12:45:53 -040081+#include <curses.h>
Andrew Geissler97771a32021-03-05 15:23:11 -060082 #ifndef NCURSES_CXX_IMPEXP
83 #define NCURSES_CXX_IMPEXP NCURSES_EXPORT_GENERAL_IMPORT
84 #endif
85-#include <ncursesw/etip.h>
Brad Bishop316dfdd2018-06-25 12:45:53 -040086+#include <etip.h>
87 #include <cstdio>
88 #include <cstdarg>
89 #include <climits>