#ifndef IMAGO_BYTEORD_H_
#define IMAGO_BYTEORD_H_
-#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900) || (defined(_MSC_VER) && _MSC_VER >= 1600)
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900) || \
+ (defined(_MSC_VER) && _MSC_VER >= 1600) || \
+ (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
#include <stdint.h>
#else
#include <sys/types.h>
typedef unsigned short uint16_t;
typedef long int32_t;
typedef unsigned long uint32_t;
+typedef unsigned long uintptr_t;
#endif
#include "imago2.h"