]> code.delx.au - gnu-emacs/commitdiff
Port recent Linux console changes to RHEL 6
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Sep 2015 10:23:46 +0000 (03:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Sep 2015 10:24:05 +0000 (03:24 -0700)
* src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.

src/terminal.c

index 817da75c577fa2ab240a3bab85afab6e76c4f0b1..d7c16d9d036afff118c8a383190162c9e620ffb0 100644 (file)
@@ -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.  */