diff options
Diffstat (limited to 'intl/dcgettext.c')
-rw-r--r-- | intl/dcgettext.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c index 958b0d4cc4..7bbe170b76 100644 --- a/intl/dcgettext.c +++ b/intl/dcgettext.c @@ -59,6 +59,9 @@ void free (); #endif #if defined HAVE_STRING_H || defined _LIBC +# ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +# endif # include <string.h> #else # include <strings.h> @@ -221,7 +224,7 @@ DCGETTEXT (domainname, msgid, category) int category; { #ifndef HAVE_ALLOCA - struct block_list *alloca_list = NULL; + struct block_list *block_list = NULL; #endif struct loaded_l10nfile *domain; struct binding *binding; |