summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-term.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-08-06 09:07:38 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-08-06 09:07:38 +0200
commit34a9221d8fa387666c0b66c4493168b1bd7ac506 (patch)
treea57361d0b148e80ab242afd826fcd429387e9268 /src/gui/curses/gui-curses-term.c
parent8d2c23209fe115fb7b7829437406c24f50ac0ec2 (diff)
downloadweechat-34a9221d8fa387666c0b66c4493168b1bd7ac506.zip
core: fix path for included file term.h (first use ncursesw/term.h if available)
Diffstat (limited to 'src/gui/curses/gui-curses-term.c')
-rw-r--r--src/gui/curses/gui-curses-term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-term.c b/src/gui/curses/gui-curses-term.c
index 65f7d25c4..fed1aed90 100644
--- a/src/gui/curses/gui-curses-term.c
+++ b/src/gui/curses/gui-curses-term.c
@@ -25,7 +25,11 @@
#include "config.h"
#endif
+#ifdef HAVE_NCURSESW_CURSES_H
+#include <ncursesw/term.h>
+#else
#include <term.h>
+#endif
/*