X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Ftinfo_driver.c;h=c824d4340298509edb4b91461762ac031ab36812;hp=990b1773fb44556d9ede965fae62aa4578712f84;hb=322d0bb55499368c35c8e65ae1ea1c26209bc05e;hpb=3f5a74a97cf8d86a8a8a78c7b268f49ccdc4101c diff --git a/ncurses/tinfo/tinfo_driver.c b/ncurses/tinfo/tinfo_driver.c index 990b1773..c824d434 100644 --- a/ncurses/tinfo/tinfo_driver.c +++ b/ncurses/tinfo/tinfo_driver.c @@ -42,7 +42,15 @@ #endif #endif -MODULE_ID("$Id: tinfo_driver.c,v 1.2 2009/08/16 14:17:08 tom Exp $") +#if HAVE_SIZECHANGE +# if !defined(sun) || !TERMIOS +# if HAVE_SYS_IOCTL_H +# include +# endif +# endif +#endif + +MODULE_ID("$Id: tinfo_driver.c,v 1.3 2009/09/27 17:29:39 tom Exp $") /* * SCO defines TIOCGSIZE and the corresponding struct. Other systems (SunOS,