summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lid.c b/src/lid.c
index dbb7f3b..26246a9 100644
--- a/src/lid.c
+++ b/src/lid.c
@@ -1512,9 +1512,7 @@ static struct termios savemode;
#else /* not HAVE_TERMIOS_H */
-# if HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-# endif
+#include <sys/ioctl.h>
# if HAVE_TERMIO_H