You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
820 B

Index: src/lftp_tinfo.cc
--- src/lftp_tinfo.cc.orig 2008-11-27 06:56:39 +0100
+++ src/lftp_tinfo.cc 2009-09-13 21:09:13 +0200
@@ -23,20 +23,20 @@
#include <config.h>
extern "C" {
-#if defined(HAVE_CURSES_H)
-# include <curses.h>
-# if defined(HAVE_TERM_H)
-# include <term.h>
-# elif defined(HAVE_NCURSES_TERM_H)
-# include <ncurses/term.h>
-# endif
-#elif defined(HAVE_NCURSES_CURSES_H)
+#if defined(HAVE_NCURSES_CURSES_H)
# include <ncurses/curses.h>
# if defined(HAVE_NCURSES_TERM_H)
# include <ncurses/term.h>
# elif defined(HAVE_TERM_H)
# include <term.h>
# endif
+#elif defined(HAVE_CURSES_H)
+# include <curses.h>
+# if defined(HAVE_TERM_H)
+# include <term.h>
+# elif defined(HAVE_NCURSES_TERM_H)
+# include <ncurses/term.h>
+# endif
#elif defined(HAVE_TERMCAP_H)
# include <termcap.h>
#endif