diff options
author | Chet Ramey <chet.ramey@case.edu> | 2016-09-15 17:02:15 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2016-09-15 17:02:15 -0400 |
commit | d49a9082c0e15bba8cd3d8cc0a994409cf823cac (patch) | |
tree | f0737355f68bc024a31beb0a5dd3c0370f522071 /terminal.c | |
parent | 96c967e80aeaeda3c06ab298de77efd41288bb86 (diff) | |
download | readline-d49a9082c0e15bba8cd3d8cc0a994409cf823cac.tar.gz |
Readline-7.0 distribution sources and documentationreadline-7.0
Diffstat (limited to 'terminal.c')
-rw-r--r-- | terminal.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,6 +1,6 @@ /* terminal.c -- controlling the terminal with termcap. */ -/* Copyright (C) 1996-2009 Free Software Foundation, Inc. +/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -51,15 +51,14 @@ /* System-specific feature definitions and include files. */ #include "rldefs.h" -#if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ) -# include <sys/ioctl.h> -#endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */ - #ifdef __MSDOS__ # include <pc.h> #endif #include "rltty.h" +#if defined (HAVE_SYS_IOCTL_H) +# include <sys/ioctl.h> /* include for declaration of ioctl */ +#endif #include "tcap.h" /* Some standard library routines. */ |