diff options
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/lxdialog/util.c | 2 | ||||
-rw-r--r-- | scripts/kconfig/mconf.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/lxdialog/util.c b/scripts/kconfig/lxdialog/util.c index 86d95cca46a7..f2375ad7ebc9 100644 --- a/scripts/kconfig/lxdialog/util.c +++ b/scripts/kconfig/lxdialog/util.c | |||
@@ -19,6 +19,8 @@ | |||
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <stdarg.h> | ||
23 | |||
22 | #include "dialog.h" | 24 | #include "dialog.h" |
23 | 25 | ||
24 | struct dialog_info dlg; | 26 | struct dialog_info dlg; |
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 3bcacb4bfd3a..25b60bc117f7 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c | |||
@@ -888,6 +888,8 @@ int main(int ac, char **av) | |||
888 | single_menu_mode = 1; | 888 | single_menu_mode = 1; |
889 | } | 889 | } |
890 | 890 | ||
891 | initscr(); | ||
892 | |||
891 | getyx(stdscr, saved_y, saved_x); | 893 | getyx(stdscr, saved_y, saved_x); |
892 | if (init_dialog(NULL)) { | 894 | if (init_dialog(NULL)) { |
893 | fprintf(stderr, N_("Your display is too small to run Menuconfig!\n")); | 895 | fprintf(stderr, N_("Your display is too small to run Menuconfig!\n")); |