aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--stdlib/strfmon.c3
-rw-r--r--stdlib/strtod.c1
-rw-r--r--string/strcoll.c3
-rw-r--r--string/strxfrm.c3
-rw-r--r--sysdeps/generic/strtol.c1
-rw-r--r--wctype/wcfuncs_l.c3
-rw-r--r--wctype/wctrans_l.c3
-rw-r--r--wctype/wctype_l.c3
9 files changed, 19 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 8bba5d03c3..1c2be3d65d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@
* sysdeps/generic/strtol.c: Include <locale.h>
* stdlib/strtod.c: Likewise
* stdlib/strfmon.c: Likewise.
+ * string/strcoll.c: Likewise.
+ * string/strxfrm.c: Likewise.
+ * wctype/wcfuncs_l.c: Likewise.
+ * wctype/wctype_l.c: Likewise.
+ * wctype/wctrans_l.c: Likewise.
* include/bits/locale.h: New file.
diff --git a/stdlib/strfmon.c b/stdlib/strfmon.c
index 49d88834fe..eb4d0961f7 100644
--- a/stdlib/strfmon.c
+++ b/stdlib/strfmon.c
@@ -1,5 +1,5 @@
/* Formatting a monetary value according to the current locale.
- Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>
and Jochen Hein <Jochen.Hein@informatik.TU-Clausthal.de>, 1996.
@@ -22,6 +22,7 @@
#include <ctype.h>
#include <errno.h>
#include <langinfo.h>
+#include <locale.h>
#include <monetary.h>
#ifdef USE_IN_LIBIO
# include "../libio/libioP.h"
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index f9ffa444e0..49ef2898be 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -56,6 +56,7 @@
#include <float.h>
#include <ieee754.h>
#include "../locale/localeinfo.h"
+#include <locale.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
diff --git a/string/strcoll.c b/string/strcoll.c
index 64e00a251a..a9ac5a8f01 100644
--- a/string/strcoll.c
+++ b/string/strcoll.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995,96,97,98,99,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
@@ -19,6 +19,7 @@
#include <assert.h>
#include <langinfo.h>
+#include <locale.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/string/strxfrm.c b/string/strxfrm.c
index 4a97c3e1cc..38be80bea7 100644
--- a/string/strxfrm.c
+++ b/string/strxfrm.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
@@ -19,6 +19,7 @@
#include <assert.h>
#include <langinfo.h>
+#include <locale.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/sysdeps/generic/strtol.c b/sysdeps/generic/strtol.c
index b2a232320c..f4336602d0 100644
--- a/sysdeps/generic/strtol.c
+++ b/sysdeps/generic/strtol.c
@@ -44,6 +44,7 @@ extern int errno;
# include <stddef.h>
# include <stdlib.h>
# include <string.h>
+# include <locale.h>
#else
# ifndef NULL
# define NULL 0
diff --git a/wctype/wcfuncs_l.c b/wctype/wcfuncs_l.c
index a552895316..ac04ff3375 100644
--- a/wctype/wcfuncs_l.c
+++ b/wctype/wcfuncs_l.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,7 @@
#include <wctype.h>
#include <stdint.h>
+#include <locale.h>
#include <locale/localeinfo.h>
#define USE_IN_EXTENDED_LOCALE_MODEL
diff --git a/wctype/wctrans_l.c b/wctype/wctrans_l.c
index 94e2451926..06ffcff6f4 100644
--- a/wctype/wctrans_l.c
+++ b/wctype/wctrans_l.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,6 +16,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <locale.h>
#include <string.h>
#include <wctype.h>
#include "../locale/localeinfo.h"
diff --git a/wctype/wctype_l.c b/wctype/wctype_l.c
index 72d79659dd..f628ccad7f 100644
--- a/wctype/wctype_l.c
+++ b/wctype/wctype_l.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996.
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <endian.h>
+#include <locale.h>
#include <string.h>
#include <wctype.h>
#include <locale/localeinfo.h>