summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-09-09 03:23:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-09-09 03:24:05 -0700
commitc28542c29fde8c6862429a6b7180e2434f2e4ea4 (patch)
treef3a1f01ed0e0a8664ae443548543aad4e84c8ad0 /src/terminal.c
parent881b4f4bbf6f6ef0c90a5a5561941dfc3da7bd39 (diff)
downloademacs-c28542c29fde8c6862429a6b7180e2434f2e4ea4.tar.gz
Port recent Linux console changes to RHEL 6
* src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 817da75c577..d7c16d9d036 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -31,6 +31,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifdef HAVE_LINUX_KD_H
# include <errno.h>
# include <linux/kd.h>
+# include <sys/ioctl.h>
#endif
/* Chain of all terminals currently in use. */