X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c627d61324e9dcd5df833ee6236dd10415f5bac4..720b47f2611d277684b2ec35d11dc3feedb207fe:/rsync.h diff --git a/rsync.h b/rsync.h index 87b96730..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 @@ -226,3 +234,9 @@ extern int errno; #if !SUPPORT_LINKS #define lstat stat #endif + +#define SIGNAL_CAST (RETSIGTYPE (*)()) + +#ifndef EWOULDBLOCK +#define EWOULDBLOCK EAGAIN +#endif