summaryrefslogtreecommitdiffstats
path: root/libidu
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 /libidu
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 'libidu')
-rw-r--r--libidu/xnls.h4
1 files changed, 1 insertions, 3 deletions
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