about summary refs log tree commit diff
path: root/intl/bindtextdom.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/bindtextdom.c')
-rw-r--r--intl/bindtextdom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c
index 3862544575..be78ae0f23 100644
--- a/intl/bindtextdom.c
+++ b/intl/bindtextdom.c
@@ -139,7 +139,9 @@ BINDTEXTDOMAIN (domainname, dirname)
   else
     {
       /* We have to create a new binding.  */
+#if !defined _LIBC && !defined HAVE_STRDUP
       size_t len;
+#endif
       struct binding *new_binding =
 	(struct binding *) malloc (sizeof (*new_binding));