@@ -19,11 +19,13 @@ /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif -#include +#ifdef HAVE_UNISTD_H +# include +#endif #ifdef HAVE_ARPA_INET_H # include #endif #ifdef HAVE_NETDB_H