Permalink
Browse files

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

…m fail on redefinitions
  • Loading branch information...
1 parent 6799e19 commit e2bd3251993b6bb9ec39da6a5b19d32624191b10 @kripken committed Apr 25, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 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__ */
/*

0 comments on commit e2bd325

Please sign in to comment.