X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-boot-editor.h;fp=ui%2Fncurses%2Fnc-boot-editor.h;h=a509f7598f5ef1cd03472a05e96aaee68b116b6d;hp=bdcc5609736c2e9944e365171d10e3a906b5b017;hb=f1599796efed1eb67759cf42f47fe4bf6a9bf93c;hpb=f2747434dcdfe71c3a4d1b841070f4c9d8dc4965 diff --git a/ui/ncurses/nc-boot-editor.h b/ui/ncurses/nc-boot-editor.h index bdcc560..a509f75 100644 --- a/ui/ncurses/nc-boot-editor.h +++ b/ui/ncurses/nc-boot-editor.h @@ -19,9 +19,16 @@ #if !defined(_PB_NC_KED_H) #define _PB_NC_KED_H -#include #include /* This must be included before ncurses.h */ -#include +#if defined HAVE_NCURSESW_FORM_H +# include +#elif defined HAVE_NCURSES_FORM_H +# include +#elif defined HAVE_FORM_H +# include +#else +# error "Curses form.h not found." +#endif #include "types/types.h" #include "ui/common/ui-system.h"