summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-01 08:24:21 +0200
committerJim Meyering <meyering@redhat.com>2010-05-01 08:24:31 +0200
commitf98aed5a782abffd9c6d9973943e5f32017d1e87 (patch)
tree47f777fee38963ee91cc065036f773cb5dea9ccc /src
parent8a8ff4524641315da7c09c489b82e7e6a200d689 (diff)
downloadidutils-f98aed5a782abffd9c6d9973943e5f32017d1e87.tar.gz
idutils-f98aed5a782abffd9c6d9973943e5f32017d1e87.tar.bz2
idutils-f98aed5a782abffd9c6d9973943e5f32017d1e87.zip
maint: accommodate new syntax-check rules
* bootstrap.conf (gnulib_modules): Add sys_ioctl * src/lid.c: Include <sys/ioctl.h> unconditionally. * libidu/xnls.h: Don't depend on HAVE_LOCALE_H. <locale.h> is always available.
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