@@ -16,19 +16,11 @@ #include "config.h" #include -#ifdef 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 +#include "unistd_wrapper.h" #ifdef HAVE_SYS_IOCTL_H # include #endif #ifdef HAVE_SYS_TTYCOM_H