summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootstrap.conf1
-rw-r--r--libidu/xnls.h4
-rw-r--r--src/lid.c4
3 files changed, 3 insertions, 6 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 746b894..860d914 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -85,6 +85,7 @@ gnulib_modules="
strsep
strnlen1
strsep
+ sys_ioctl
update-copyright
useless-if-before-free
vc-list-files
diff --git a/libidu/xnls.h b/libidu/xnls.h
index 05b3e91..09227bc 100644
--- a/libidu/xnls.h
+++ b/libidu/xnls.h
@@ -25,9 +25,7 @@
#if ENABLE_NLS
# define _(Text) gettext (Text)
-# ifdef HAVE_LOCALE_H
-# include <locale.h>
-# endif
+# include <locale.h>
#else
# define _(Text) Text
#endif
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