#endif
#if defined(__MWERKS__) || defined(THINK_C)
+#ifdef __MACH__
+#include <sys/types.h>
+#else
#include <unix.h>
#include <math.h>
#endif
+#endif
#include <stdio.h>
#include <stdlib.h>
#define BSDTYPES
#define HAVE_UNISTD_H 0
-/* GRG: added check for MINGW32 */
#elif defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)
#define BSDTYPES
+#elif defined(__DJGPP__)
+#define BSDTYPES
#elif defined(OS2_16) || defined(OS2_32)
#define BSDTYPES
#elif defined(__acornriscos)