git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33820 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 #define        BSDTYPES
 #elif defined(OS2_16) || defined(OS2_32)
 #define        BSDTYPES
+#elif defined(__MSDOS__)
+#define        BSDTYPES
 #elif defined(__acornriscos)
 #include <stdlib.h>
 #define        BSDTYPES
 
  * a port.h file that reflects the system capabilities.
  * Doing this obviates all the dreck done in tiffcomp.h.
  */
-#if defined(unix) || defined(__unix)
+#if (defined(unix) || defined(__unix)) && !defined(__DJGPP__)
 #include "port.h"
 #include "tiffconf.h"
 #else