blob: 045f3cafab3baf3477056af1f109b580e9c2ce21 [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
19diff --git a/src/NCApplication.cc b/src/NCApplication.cc
20index 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>
32diff --git a/src/NCstyle.h b/src/NCstyle.h
33index 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>
45diff --git a/src/NCurses.h b/src/NCurses.h
46index 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"
58diff --git a/src/ncursesp.h b/src/ncursesp.h
59index 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 {
71diff --git a/src/ncursesw.cc b/src/ncursesw.cc
72index 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
84diff --git a/src/ncursesw.h b/src/ncursesw.h
85index 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--
1002.7.4
101