chiark / gitweb /
Initial push
[termux-packages] / packages / libandroid-support / langinfo.h.patch
1 Include <xlocale.h> from langinfo.h so that locale_t gets defined.
2
3 diff -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/langinfo.h ./include/langinfo.h
4 --- /home/fornwall/lib/android-ndk/sources/android/support/include/langinfo.h   2014-07-29 04:23:14.000000000 -0400
5 +++ ./include/langinfo.h        2014-11-27 12:46:17.606220352 -0500
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