--- BasiliskII/src/Unix/sysdeps.h 2008/01/01 09:40:33 1.34 +++ BasiliskII/src/Unix/sysdeps.h 2009/08/17 20:42:26 1.35 @@ -62,6 +62,9 @@ # endif #endif +#if defined(__MACH__) +#include +#endif #ifdef ENABLE_NATIVE_M68K @@ -178,6 +181,8 @@ typedef char * caddr_t; /* Time data type for Time Manager emulation */ #ifdef HAVE_CLOCK_GETTIME typedef struct timespec tm_time_t; +#elif defined(__MACH__) +typedef mach_timespec_t tm_time_t; #else typedef struct timeval tm_time_t; #endif