X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c9b62cf375f393de076d0fc7a3c2748d581c54a2..e0fd68f5ce8d3ef6add132cc9d42a03fa8888fef:/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