Commit 1fb90d5b by Eric Botcazou Committed by Eric Botcazou

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
parent 2919ad1e
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment