diff --git a/Makefile.am b/Makefile.am index ecb5087..18ffdbf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,8 +17,6 @@ fdupes_SOURCES = fdupes.c\ flags.h\ mbstowcs_escape_invalid.c\ mbstowcs_escape_invalid.h\ - positive_wcwidth.c\ - positive_wcwidth.h\ md5/md5.c\ md5/md5.h dist_man1_MANS = fdupes.1 diff --git a/fdupes.c b/fdupes.c index 29b2921..7bab2a8 100644 --- a/fdupes.c +++ b/fdupes.c @@ -35,14 +35,16 @@ #include #include #include +#ifndef NO_NCURSES #ifdef HAVE_NCURSESW_CURSES_H #include #else #include #endif +#include "ncurses-interface.h" +#endif #include "fdupes.h" #include "errormsg.h" -#include "ncurses-interface.h" #include "log.h" #include "sigint.h" #include "flags.h"