summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 5fdc4caeb2f..6fb26c77851 100644
--- a/src/term.c
+++ b/src/term.c
@@ -34,6 +34,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#if HAVE_TERMIOS_H
#include <termios.h> /* For TIOCNOTTY. */
#endif
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
#include <signal.h>
#include <stdarg.h>