aboutsummaryrefslogtreecommitdiff
path: root/locale/loadlocale.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-26 09:22:30 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-26 09:22:30 +0000
commit3e154a6f9373a15924ffe226df044194b633e3ac (patch)
tree3ebb34aed6cf135cdc3006b20b54dda86e43e4e1 /locale/loadlocale.c
parent97ac0eafb88c12e24898a1a9fbf686446f944d10 (diff)
downloadglibc-3e154a6f9373a15924ffe226df044194b633e3ac.tar
glibc-3e154a6f9373a15924ffe226df044194b633e3ac.tar.gz
glibc-3e154a6f9373a15924ffe226df044194b633e3ac.tar.bz2
glibc-3e154a6f9373a15924ffe226df044194b633e3ac.zip
Update.
* locale/Makefile (headers): Add bits/locale.h. * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h> and use __LC_ constants instead of LC_. * locale/locale.h: Include <bits/locale.h> and define LC_ constants using __LC_ constants. * locale/bits/locale.h: New file. * locale/loadlocale.c: Include <locale.h>. * locale/nl_langinfo.h: Likewise.
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r--locale/loadlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index 8c7afda8ea..55c9a587f4 100644
--- a/locale/loadlocale.c
+++ b/locale/loadlocale.c
@@ -1,5 +1,5 @@
/* Functions to read locale data files.
- 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>, 1996.
@@ -21,6 +21,7 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
+#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>