summaryrefslogtreecommitdiff
path: root/intl/dcgettext.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-12 02:01:17 +0000
committerRoland McGrath <roland@gnu.org>1996-07-12 02:01:17 +0000
commit842907c6f8e6022f443175072e65bc516eb0973b (patch)
tree626cc5413c07820d66cbdb1ea841f56af09c7346 /intl/dcgettext.c
parente6c9a67a0bdb970f3b7f7ced6581b98cfe35797c (diff)
* inet/getnetent_r.c: Define NEED_H_ERRNO.cvs/libc-960713cvs/libc-960712
* inet/getnetbynm_r.c: Likewise. * inet/getnetent.c: Likewise. * inet/getnetbyad_r.c: Likewise. * inet/getnetbyad.c: Likewise. * inet/getnetbynm.c: Likewise. * sysdeps/generic/pselect.c: Include <sys/time.h>. * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for `struct timespec'.
Diffstat (limited to 'intl/dcgettext.c')
-rw-r--r--intl/dcgettext.c5
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;