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