Loading...
include/langinfo.h Libc-391 Libc-320
--- Libc/Libc-391/include/langinfo.h
+++ Libc/Libc-320/include/langinfo.h
@@ -30,11 +30,11 @@
 #define	_LANGINFO_H_
 
 #include <sys/cdefs.h>
-#include <_types.h>
+#include <sys/types.h>
 
-#ifndef _NL_ITEM
-typedef	__darwin_nl_item	nl_item;
-#define	_NL_ITEM
+#ifndef _NL_ITEM_DECLARED
+typedef	int	nl_item;
+#define	_NL_ITEM_DECLARED
 #endif
 
 #define	CODESET		0	/* codeset name */
@@ -110,7 +110,7 @@
 
 #define	CRNCYSTR	56	/* currency symbol */
 
-#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE)
+#if !defined(_ANSI_SOURCE)
 #define	D_MD_ORDER	57	/* month/day order (local extension) */
 #endif
 
@@ -118,8 +118,4 @@
 char	*nl_langinfo(nl_item);
 __END_DECLS
 
-#ifdef _USE_EXTENDED_LOCALES_
-#include <xlocale/_langinfo.h>
-#endif /* _USE_EXTENDED_LOCALES_ */
-
 #endif /* !_LANGINFO_H_ */