@@ -22,11 +22,13 @@ #include /* include any libc header to get the libc defines */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif -#include +#ifdef HAVE_UNISTD_H +# include +#endif #include "platform.h" #ifdef OF_MACOS # include