]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: simplify ncurses includes
authorKarel Zak <kzak@redhat.com>
Thu, 20 Jul 2017 08:43:19 +0000 (10:43 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 20 Jul 2017 08:43:19 +0000 (10:43 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index 37f998babb742dea1e7200b89fd97da683481373..2af166baff743075476149470b870e40feaaeae3 100644 (file)
@@ -37,7 +37,7 @@
 # include <slcurses.h>
 #elif defined(HAVE_SLANG_SLCURSES_H)
 # include <slang/slcurses.h>
-#elif defined(HAVE_NCURSESW_NCURSES_H) && defined(HAVE_WIDECHAR)
+#elif defined(HAVE_NCURSESW_NCURSES_H)
 # include <ncursesw/ncurses.h>
 #elif defined(HAVE_NCURSES_H)
 # include <ncurses.h>