mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 05:32:31 +00:00
Added check to see if libinfow is required by ncursesw.
This commit is contained in:
@@ -39,7 +39,20 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#if defined(HAVE_NCURSESW_CURSES_H)
|
||||
#include <ncursesw/curses.h>
|
||||
#elif defined(HAVE_NCURSESW_H)
|
||||
#include <ncursesw.h>
|
||||
#elif defined(HAVE_NCURSES_CURSES_H)
|
||||
#include <ncurses/curses.h>
|
||||
#elif defined(HAVE_NCURSES_H)
|
||||
#include <ncurses.h>
|
||||
#elif defined(HAVE_CURSES_H)
|
||||
#include <curses.h>
|
||||
#else
|
||||
#error "SysV or X/Open-compatible Curses header file required"
|
||||
#endif
|
||||
|
||||
// Let us hail the creators of curses for being idiots. The only
|
||||
// clever move they made was in the naming.
|
||||
|
||||
@@ -38,9 +38,10 @@
|
||||
#define RTORRENT_INPUT_BINDINGS_H
|
||||
|
||||
#include <map>
|
||||
#include <ncurses.h>
|
||||
#include <sigc++/functors/slot.h>
|
||||
|
||||
#include "display/attributes.h"
|
||||
|
||||
namespace input {
|
||||
|
||||
class Bindings : private std::map<int, sigc::slot0<void> > {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <ncurses.h>
|
||||
#include "display/attributes.h"
|
||||
|
||||
#include "text_input.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user