diff --git a/lib/common/util.h b/lib/common/util.h index 186ecb998..29f2fa5c6 100644 --- a/lib/common/util.h +++ b/lib/common/util.h @@ -63,7 +63,7 @@ extern "C" { #endif /* Sleep functions: posix - windows - others */ -#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) +#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || defined(__midipix__) || (defined(__APPLE__) && defined(__MACH__))) # include # include /* setpriority */ # define UTIL_sleep(s) sleep(s)