#ifndef UTIL_H_
#define UTIL_H_
+#if defined(__WATCOMC__) && __WATCOMC__ < 1200
+#define NO_STDINT_H
+#endif
#ifdef NO_STDINT_H
-
-#if __WATCOMC__ >= 1200
-#include <sys/types.h>
-#else
typedef char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef unsigned long uintptr_t;
-#endif
-
#else
#include <stdint.h>
#endif