summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-term.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-16 19:18:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-16 19:18:16 +0100
commita4a4e2f38f4264d1a13e696fa611031a02e3eb1a (patch)
tree4dff19e3365e9c1b7ca225d9af41b70c7eb8b4eb /src/gui/curses/gui-curses-term.c
parentd920f8745515d97a85d72632f875c08446c17671 (diff)
downloadweechat-a4a4e2f38f4264d1a13e696fa611031a02e3eb1a.zip
core: fix compilation on SmartOS (bug #40981, closes #23)
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 2287278b7..c942231f6 100644
--- a/src/gui/curses/gui-curses-term.c
+++ b/src/gui/curses/gui-curses-term.c
@@ -24,7 +24,11 @@
#endif
#ifdef HAVE_NCURSESW_CURSES_H
+#ifdef __sun
+#include <ncurses/term.h>
+#else
#include <ncursesw/term.h>
+#endif
#else
#include <term.h>
#endif