From 4c95120ead7e04c137796008e6abaf67bedbe27b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Feb 1999 08:26:51 +0000 Subject: [PATCH] Update. 1999-02-09 Ulrich Drepper * intl/dcgettext.c: Include locale.h is available. --- ChangeLog | 4 ++++ intl/dcgettext.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 64cab08ae4..0dc60abb5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-02-09 Ulrich Drepper + + * intl/dcgettext.c: Include locale.h is available. + 1999-02-08 Ulrich Drepper * po/nl.po: Update from translation team. diff --git a/intl/dcgettext.c b/intl/dcgettext.c index 77de76f5ed..cc5299e460 100644 --- a/intl/dcgettext.c +++ b/intl/dcgettext.c @@ -1,5 +1,5 @@ /* Implementation of the dcgettext(3) function. - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. @@ -79,6 +79,10 @@ void free (); # include #endif +#if defined HAVE_LOCALE_H || defined _LIBC +# include +#endif + #include "gettext.h" #include "gettextP.h" #ifdef _LIBC