diff options
Diffstat (limited to 'system/include/libc')
-rw-r--r-- | system/include/libc/locale.h | 9 | ||||
-rw-r--r-- | system/include/libc/pthread.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/system/include/libc/locale.h b/system/include/libc/locale.h index 532faaa5..b75bed7a 100644 --- a/system/include/libc/locale.h +++ b/system/include/libc/locale.h @@ -21,6 +21,15 @@ #define LC_TIME 5 #define LC_MESSAGES 6 +/* XXX Emscripten: add masks */ +#define LC_ALL_MASK (1 << LC_ALL) +#define LC_COLLATE_MASK (1 << LC_COLLATE) +#define LC_CTYPE_MASK (1 << LC_CTYPE) +#define LC_MONETARY_MASK (1 << LC_MONETARY) +#define LC_NUMERIC_MASK (1 << LC_NUMERIC) +#define LC_TIME_MASK (1 << LC_TIME) +#define LC_MESSAGES_MASK (1 << LC_MESSAGES) + _BEGIN_STD_C struct lconv diff --git a/system/include/libc/pthread.h b/system/include/libc/pthread.h index 63bb6dfa..0c5dc488 100644 --- a/system/include/libc/pthread.h +++ b/system/include/libc/pthread.h @@ -31,7 +31,7 @@ extern "C" { #include <sys/types.h> #include <time.h> -#include <sys/sched.h> +#include <sched.h> /* XXX Emscripten: removed sys/ */ /* Register Fork Handlers */ int _EXFUN(pthread_atfork,(void (*prepare)(void), void (*parent)(void), |