re PR ada/81103 (gcc/ada/terminals.c: please remove unused termio.h)
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 13 Sep 2018 17:05:40 +0000 (17:05 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 13 Sep 2018 17:05:40 +0000 (17:05 +0000)
PR ada/81103
* terminals.c: Do not include termio.h.

From-SVN: r264277

gcc/ada/ChangeLog
gcc/ada/terminals.c

index b61c605..b3638be 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/81103
+       * terminals.c: Do not include termio.h.
+
 2018-08-27  Martin Liska  <mliska@suse.cz>
 
        * gcc-interface/decl.c (update_profile): Use new function
 
 2018-07-31  Eric Botcazou  <ebotcazou@adacore.com>
 
-       *  libgnarl/s-osinte__solaris.ads (upad64_t): New private type.
+       * libgnarl/s-osinte__solaris.ads (upad64_t): New private type.
        (mutex_t): Use it for 'lock' and 'data' components.
        (cond_t): Likewise for 'data' and use single 'flags' component.
 
index 7025f57..bd2cdd0 100644 (file)
@@ -1107,14 +1107,6 @@ __gnat_setup_winsize (void *desc, int rows, int columns)
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
-
-/* On some system termio is either absent or including it will disable termios
-   (HP-UX) */
-#if !defined (__hpux__) && !defined (BSD) && !defined (__APPLE__) \
-  && !defined (__rtems__) && !defined (__QNXNTO__)
-#   include <termio.h>
-#endif
-
 #include <sys/ioctl.h>
 #include <termios.h>
 #include <fcntl.h>
@@ -1130,7 +1122,6 @@ __gnat_setup_winsize (void *desc, int rows, int columns)
 #   include <sys/signal.h>
 #endif
 #if defined (__hpux__)
-#   include <sys/termio.h>
 #   include <sys/stropts.h>
 #endif