summaryrefslogtreecommitdiffstats
path: root/intl/dcigettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/dcigettext.c')
-rw-r--r--intl/dcigettext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
index 937c0fd..de08f7e 100644
--- a/intl/dcigettext.c
+++ b/intl/dcigettext.c
@@ -360,7 +360,9 @@ typedef unsigned char transmem_block_t;
#endif
/* Lock variable to protect the global data in the gettext implementation. */
+#ifdef _LIBC
__libc_rwlock_define_initialized (, _nl_state_lock)
+#endif
/* Checking whether the binaries runs SUID must be done and glibc provides
easier methods therefore we make a difference here. */