about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strfmon.c3
-rw-r--r--stdlib/strtod.c1
2 files changed, 3 insertions, 1 deletions
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>