diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-02 15:12:37 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-02 15:12:37 +0100 |
commit | 6c47428e788906793692fb0efc8ceb25f7c4393e (patch) | |
tree | c8fb0b3d3e20b9b4675159a826336174e5753559 | |
parent | fcd120fa50ef737d17c94c197cdef06e683435a2 (diff) | |
download | weechat-6c47428e788906793692fb0efc8ceb25f7c4393e.zip |
core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 2 | ||||
-rw-r--r-- | src/gui/curses/gui-curses.h | 4 |
3 files changed, 2 insertions, 7 deletions
@@ -11,8 +11,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] == Version 0.4.3 (under dev) -* core: fix compilation on Android (replace calls to rindex by strrchr) - (bug #41420, patch #8301) +* core: fix compilation on Android (bug #41420, patch #8301, bug #41434) * core: fix crash when creating two bars with same name but different case (bug #41418) * core: fix display of read marker when all buffer lines are unread and that diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index 2a640083c..f4444bf79 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -31,7 +31,7 @@ #include <stdarg.h> #include <libgen.h> #include <sys/ioctl.h> -#include <sys/termios.h> +#include <termios.h> #include "../../core/weechat.h" #include "../../core/wee-config.h" diff --git a/src/gui/curses/gui-curses.h b/src/gui/curses/gui-curses.h index cc03a5ccc..4b85c53e4 100644 --- a/src/gui/curses/gui-curses.h +++ b/src/gui/curses/gui-curses.h @@ -30,10 +30,6 @@ #include <curses.h> #endif -#ifdef __CYGWIN__ -#include <sys/termios.h> -#endif - struct t_gui_buffer; struct t_gui_window; struct t_gui_bar_window; |