From: Eric Botcazou Date: Thu, 13 Sep 2018 17:05:40 +0000 (+0000) Subject: re PR ada/81103 (gcc/ada/terminals.c: please remove unused termio.h) X-Git-Tag: upstream/12.2.0~29312 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fb90d5be8591b6d2ad021a05be5c4ef3b7bfc09;p=platform%2Fupstream%2Fgcc.git 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 --- 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 + + PR ada/81103 + * terminals.c: Do not include termio.h. + 2018-08-27 Martin Liska * gcc-interface/decl.c (update_profile): Use new function @@ -367,7 +372,7 @@ 2018-07-31 Eric Botcazou - * 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 #include #include - -/* 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 -#endif - #include #include #include @@ -1130,7 +1122,6 @@ __gnat_setup_winsize (void *desc, int rows, int columns) # include #endif #if defined (__hpux__) -# include # include #endif