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 8bba5d0..1c2be3d 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 49d8883..eb4d096 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 f9ffa44..49ef289 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 64e00a2..a9ac5a8 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 4a97c3e..38be80b 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 b2a2323..f433660 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 a552895..ac04ff3 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 94e2451..06ffcff 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 72d7965..f628cca 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>