Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index 4ac468d..af7593f 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -47,7 +47,7 @@
 #endif
 } mbstate_t;
 
-typedef enum {
+enum {
     WC_TYPE_INVALID = 0,
     WC_TYPE_ALNUM,
     WC_TYPE_ALPHA,
@@ -62,7 +62,9 @@
     WC_TYPE_UPPER,
     WC_TYPE_XDIGIT,
     WC_TYPE_MAX
-} wctype_t;
+};
+
+typedef long wctype_t;
 
 #define  WEOF        ((wint_t)(-1))