X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ac1eb754b84f74eaba1663a07f7ff068bd280ce6..720b47f2611d277684b2ec35d11dc3feedb207fe:/rsync.h diff --git a/rsync.h b/rsync.h index a741277c..fd24df5e 100644 --- a/rsync.h +++ b/rsync.h @@ -75,6 +75,14 @@ #include +#ifdef HAVE_SYS_IOCTL_H +#include +#endif + +#ifdef HAVE_SYS_FILIO_H +#include +#endif + #include #ifdef HAVE_SYS_WAIT_H #include @@ -228,3 +236,7 @@ extern int errno; #endif #define SIGNAL_CAST (RETSIGTYPE (*)()) + +#ifndef EWOULDBLOCK +#define EWOULDBLOCK EAGAIN +#endif