URL:
<http://savannah.nongnu.org/bugs/?41434>
Summary: Compilation fails on android due <sys/termios.h>
being included instead of <termios.h>
Project: WeeChat
Submitted by: None
Submitted on: Sun 02 Feb 2014 12:36:42 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Fredrik Fornwall
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: 0.4.3-dev
IRC nick: fornwall
_______________________________________________________
Details:
Android does not have <sys/termios.h> but <termios.h>.
I believe that <termios.h> is the portable and standard file to include
anyway:
* http://www.gnu.org/software/libc/manual/html_node/Noncanon-Example.html
* http://pubs.opengroup.org/onlinepubs/7990989799/xsh/termios.h.html
The attached patch does the sys/termios.h => termios.h replacement.
The change in gui-curses.h is not strictly required since it's guarded by
ifdef __CYGWIN__, but we might as well do the change there for consistency.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41434>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev