Define int8_t when __int8_t_defined is not defined.
#ifndef _STDINT_H
#define _STDINT_H 1
-typedef char int8_t;
+#ifndef __int8_t_defined
+#define __int8_t_defined
+typedef signed char int8_t;
+#endif
typedef short int int16_t;
typedef int int32_t;
typedef long int int64_t;
