@@ -21,11 +21,14 @@ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #include -#include + +#ifdef HAVE_UNISTD_H +# include +#endif #ifdef HAVE_SYS_IOCTL_H # include #endif #ifdef HAVE_SYS_TTYCOM_H