about summary refs log tree commit diff
path: root/locale/xlocale.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/xlocale.h')
-rw-r--r--locale/xlocale.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/locale/xlocale.h b/locale/xlocale.h
index 2b17d6973f..e879212b79 100644
--- a/locale/xlocale.h
+++ b/locale/xlocale.h
@@ -1,5 +1,5 @@
 /* Definition of locale datatype.
-   Copyright (C) 1997,2000,02 Free Software Foundation, Inc.
+   Copyright (C) 1997,2000,2002,2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -39,4 +39,7 @@ typedef struct __locale_struct
   const char *__names[13];
 } *__locale_t;
 
+/* POSIX 2008 makes locale_t official.  */
+typedef __locale_t locale_t;
+
 #endif /* xlocale.h */