diff --git a/src/odoors/OpenDoor.h b/src/odoors/OpenDoor.h
index c0c0202f6d1a14314773bb62a840959947572ca8..65d0f2878a047e4c7a13c995b101f75e8340d63d 100644
--- a/src/odoors/OpenDoor.h
+++ b/src/odoors/OpenDoor.h
@@ -175,6 +175,8 @@ typedef unsigned char      BYTE;                        /* Unsigned, 8 bits. */
 typedef unsigned short     WORD;                       /* Unsigned, 16 bits. */
 typedef unsigned long      DWORD;                      /* Unsigned, 32 bits. */
 typedef char               CHAR;         /* Native character representation. */
+#define DWORD_DEFINED
+#define WORD_DEFINED
 #endif /* !ODPLAT_WIN32 */
 
 typedef signed char        INT8;                          /* Signed, 8 bits. */