Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

sys/types.h header fix for some systems where local includes make the…

…m fail on redefinitions
  • Loading branch information...
commit e2bd3251993b6bb9ec39da6a5b19d32624191b10 1 parent 6799e19
@kripken authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 system/include/libc/sys/types.h
8 system/include/libc/sys/types.h
@@ -140,12 +140,8 @@ typedef unsigned long vm_size_t;
-// 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__ */
Please sign in to comment.
Something went wrong with that request. Please try again.