summaryrefslogtreecommitdiffstats
path: root/intl/l10nflist.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/l10nflist.c')
-rw-r--r--intl/l10nflist.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
index 4f955a9..dc763cc 100644
--- a/intl/l10nflist.c
+++ b/intl/l10nflist.c
@@ -21,7 +21,8 @@ Boston, MA 02111-1307, USA. */
# include <config.h>
#endif
-#if defined _LIBC && (defined __ARGZ_COUNT || defined __ARGZ_STRINGIFY)
+#if defined _LIBC || \
+ defined __ARGZ_COUNT || defined __ARGZ_STRINGIFY || defined __ARGZ_NEXT
# include <argz.h>
#endif
#include <ctype.h>
@@ -31,6 +32,9 @@ Boston, MA 02111-1307, USA. */
#endif
#if defined HAVE_STRING_H || defined _LIBC
+# ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+# endif
# include <string.h>
#else
# include <strings.h>