Skip to content

Commit

Permalink
Fix dependency issues when fdupes is configured to not use ncurses.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlopezroche committed Jul 1, 2020
1 parent 52e2a94 commit 8b10627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion fdupes.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@
#include <errno.h>
#include <libgen.h>
#include <locale.h>
#ifndef NO_NCURSES
#ifdef HAVE_NCURSESW_CURSES_H
#include <ncursesw/curses.h>
#else
#include <curses.h>
#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"
Expand Down

0 comments on commit 8b10627

Please sign in to comment.