mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
kconfig: Use ncurses location determined by ./configure
Prior to commit bbc4db13
("kconfig: Sync with upstream v4.18") we used
the macros CURSES_LOC and MENU_LOC to tell us where curses.h and menu.h
were installed. Restore this behaviour so that we can deal with some of
the odd places that the curses headers end up.
Fixes #1403
Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
76d9b8c15c
commit
8ee3089202
@ -16,7 +16,7 @@
|
||||
#ifdef __sun__
|
||||
#define CURS_MACROS
|
||||
#endif
|
||||
#include <ncurses.h>
|
||||
#include CURSES_LOC
|
||||
|
||||
/*
|
||||
* Colors in ncurses 1.9.9e do not work properly since foreground and
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ncurses.h>
|
||||
#include <menu.h>
|
||||
#include CURSES_LOC
|
||||
#include MENU_LOC
|
||||
#include <panel.h>
|
||||
#include <form.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user