aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-24 17:04:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-24 17:28:53 -0700
commite2bd3251993b6bb9ec39da6a5b19d32624191b10 (patch)
treee7619443522fbe9ecf101407520cc8a497923293 /system/include/libc
parent6799e19b3dd97d7e555cba95d134c4bf55ff3639 (diff)
sys/types.h header fix for some systems where local includes make them fail on redefinitions
Diffstat (limited to 'system/include/libc')
-rw-r--r--system/include/libc/sys/types.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/include/libc/sys/types.h b/system/include/libc/sys/types.h
index 77acc92e..2f887537 100644
--- a/system/include/libc/sys/types.h
+++ b/system/include/libc/sys/types.h
@@ -140,12 +140,8 @@ typedef unsigned long vm_size_t;
#define __BIT_TYPES_DEFINED__
-// XXX Emscripten: removed unsigned types which are already defined
-typedef signed char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-typedef long long int64_t;
-typedef int32_t register_t;
+// XXX Emscripten: removed types which are already defined, get them from stdint
+#include <stdint.h>
#endif /* __MS_types__ */
/*