aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 1f52be9..35fafeb 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -21,8 +21,6 @@
#ifndef LD_H
#define LD_H
-#ifdef HAVE_LOCALE_H
-#endif
#ifndef SEEK_CUR
#define SEEK_CUR 1
#endif
@@ -30,18 +28,16 @@
#define SEEK_END 2
#endif
-#ifdef HAVE_LOCALE_H
-# ifndef ENABLE_NLS
- /* The Solaris version of locale.h always includes libintl.h. If we have
- been configured with --disable-nls then ENABLE_NLS will not be defined
- and the dummy definitions of bindtextdomain (et al) below will conflict
- with the defintions in libintl.h. So we define these values to prevent
- the bogus inclusion of libintl.h. */
-# define _LIBINTL_H
-# define _LIBGETTEXT_H
-# endif
-# include <locale.h>
+#ifndef ENABLE_NLS
+ /* The Solaris version of locale.h always includes libintl.h. If we have
+ been configured with --disable-nls then ENABLE_NLS will not be defined
+ and the dummy definitions of bindtextdomain (et al) below will conflict
+ with the defintions in libintl.h. So we define these values to prevent
+ the bogus inclusion of libintl.h. */
+# define _LIBINTL_H
+# define _LIBGETTEXT_H
#endif
+#include <locale.h>
#ifdef ENABLE_NLS
# include <libintl.h>