weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #41434] Compilation fails on android due <sys/termios


From: anonymous
Subject: [Weechat-dev] [bug #41434] Compilation fails on android due <sys/termios.h> being included instead of <termios.h>
Date: Sun, 02 Feb 2014 12:36:44 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36

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: address@hidden
             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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]