libgnutls: Update from 3.5.12 to 3.5.13
[termux-packages] / packages / libandroid-support / langinfo.h.patch
CommitLineData
59f0d218
FF
1Include <xlocale.h> from langinfo.h so that locale_t gets defined.
2
c48baa62
FF
3Include <locale.h> from langinfo.h so that LC_ALL gets defined.
4
59f0d218 5diff -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/langinfo.h ./include/langinfo.h
2a435b69
FF
6--- /home/fornwall/lib/android-ndk/sources/android/support/include/langinfo.h 2016-03-03 16:54:04.000000000 -0500
7+++ ./include/langinfo.h 2016-03-12 17:23:01.187197445 -0500
c48baa62 8@@ -31,6 +31,8 @@
59f0d218
FF
9 // __LP64__
10
11 #include <nl_types.h>
12+#include <xlocale.h>
c48baa62 13+#include <locale.h>
59f0d218
FF
14
15 #define _NL_ITEM(category,index) (((category) << 10) | (index))
16
2a435b69
FF
17@@ -111,10 +112,8 @@
18 extern "C" {
19 #endif
20
21-#if !defined(__LP64__)
22 char *nl_langinfo(nl_item);
23 char *nl_langinfo_l(nl_item, locale_t);
24-#endif // !__LP64__
25
26 #ifdef __cplusplus
27 } // extern "C"