#ifndef TYPES_H_
#define TYPES_H_
+#if defined(__WATCOMC__) && __WATCOMC__ < 1200
typedef signed char int8_t;
typedef short int16_t;
typedef long int32_t;
typedef long intptr_t;
typedef unsigned long uintptr_t;
+#else
+#include <stdint.h>
+#endif
#endif /* TYPES_H_ */