aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-09-13 17:05:40 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-09-13 17:05:40 +0000
commit1fb90d5be8591b6d2ad021a05be5c4ef3b7bfc09 (patch)
tree271e0d801e90814dac7ef4b6eb80b02eb402d9bb /gcc/ada
parent2919ad1ee3bf475c8f3aae44c2aec694a9843c4d (diff)
downloadgcc-1fb90d5be8591b6d2ad021a05be5c4ef3b7bfc09.zip
gcc-1fb90d5be8591b6d2ad021a05be5c4ef3b7bfc09.tar.gz
gcc-1fb90d5be8591b6d2ad021a05be5c4ef3b7bfc09.tar.bz2
re PR ada/81103 (gcc/ada/terminals.c: please remove unused termio.h)
PR ada/81103 * terminals.c: Do not include termio.h. From-SVN: r264277
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog7
-rw-r--r--gcc/ada/terminals.c9
2 files changed, 6 insertions, 10 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index b61c605..b3638be 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -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
@@ -367,7 +372,7 @@
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.
diff --git a/gcc/ada/terminals.c b/gcc/ada/terminals.c
index 7025f57..bd2cdd0 100644
--- a/gcc/ada/terminals.c
+++ b/gcc/ada/terminals.c
@@ -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