diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-02-23 21:45:06 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-02-28 20:59:14 +1300 |
commit | 8ee3089202dc5f053cef8f1e5244f3212401a667 (patch) | |
tree | c0a253cd3a5f189403b92d1894ec7409c3c2b2f9 /kconfig/nconf.h | |
parent | 76d9b8c15ce5136d21f8564a6d0bda3f1a1d69b8 (diff) | |
download | crosstool-ng-8ee3089202dc5f053cef8f1e5244f3212401a667.tar.gz crosstool-ng-8ee3089202dc5f053cef8f1e5244f3212401a667.tar.bz2 crosstool-ng-8ee3089202dc5f053cef8f1e5244f3212401a667.zip |
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>
Diffstat (limited to 'kconfig/nconf.h')
-rw-r--r-- | kconfig/nconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfig/nconf.h b/kconfig/nconf.h index fa5245eb..d41ec44a 100644 --- a/kconfig/nconf.h +++ b/kconfig/nconf.h @@ -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> |