* include/alloca.h: Remove typedefs, include sys/types.h.
* include/stdint.h: Likewise.
* include/string.h: Likewise.
#else // ! SYSTEM_LIBC
-#ifndef __MES_SIZE_T
-#define __MES_SIZE_T
-#undef size_t
-typedef unsigned long size_t;
-#endif
+#include <sys/types.h>
#if _ALLOCA_UNSIGNED
void *alloca (unsigned size);
typedef unsigned long long uint64_t;
typedef long long int64_t;
-#ifndef __MES_SIZE_T
-#define __MES_SIZE_T
-#undef size_t
-typedef unsigned long size_t;
-#endif
-
-#ifndef __MES_INTPTR_T
-#define __MES_INTPTR_T
-#undef intptr_t
-typedef long intptr_t;
-#endif
-
-// FIXME
typedef int intmax_t;
typedef unsigned uintmax_t;
-typedef unsigned* uintptr_t;
-#ifndef __MES_PTRDIFF_T
-#define __MES_PTRDIFF_T
-#undef ptrdiff_t
-typedef long ptrdiff_t;
-#endif
+#include <sys/types.h>
#define CHAR_BIT 8
#define CHAR_MAX 255
#else // ! SYSTEM_LIBC
-#ifndef NULL
-#define NULL 0
-#endif
-
-#ifndef __MES_SIZE_T
-#define __MES_SIZE_T
-#undef size_t
-typedef unsigned long size_t;
-#endif
-
-#ifndef __MES_SSIZE_T
-#define __MES_SSIZE_T
-#undef ssize_t
-typedef long ssize_t;
-#endif
+#include <sys/types.h>
void *memchr (void const *block, int c, size_t size);
void *memcpy (void *dest, void const *src, size_t n);