@@ -17,14 +17,20 @@ #include /* Make sure we have any libc include */ #import "platform.h" -#if defined(HAVE_UNISTD_H) && (!defined(OF_MORPHOS) || defined(OF_IXEMUL)) +#if defined(OF_MORPHOS) && !defined(OF_IXEMUL) +# define BOOL EXEC_BOOL +# include +# undef BOOL +#endif + +#if defined(HAVE_UNISTD_H) # ifdef __GLIBC__ # undef __USE_XOPEN /* Needed to avoid old glibc using __block */ # endif # include # ifdef __GLIBC__ # define __USE_XOPEN 1 # endif #endif