X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c9b62cf375f393de076d0fc7a3c2748d581c54a2..e889e0c43bc6b55ff2c20091a66bb1676de5369f:/rsync.h diff --git a/rsync.h b/rsync.h index c6293d0f..d7dcb08a 100644 --- a/rsync.h +++ b/rsync.h @@ -1107,6 +1107,11 @@ size_t strlcat(char *d, const char *s, size_t bufsize); #define MY_GID() getgid() #endif +#ifdef FORCE_FD_ZERO_MEMSET +#undef FD_ZERO +#define FD_ZERO(fdsetp) memset(fdsetp, 0, sizeof (fd_set)) +#endif + extern int verbose; #ifndef HAVE_INET_NTOP