X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/52d3e10613fe75f02bebf30d66a768c815a40aae..e106de49c83ec70eb8c8bf4c92fd493757847e04:/rsync.h diff --git a/rsync.h b/rsync.h index bd804f7d..d897b3d6 100644 --- a/rsync.h +++ b/rsync.h @@ -623,6 +623,10 @@ void rsyserr(enum logcode, int, const char *, ...) #define inet_ntoa rep_inet_ntoa #endif +/* Make sure that the O_BINARY flag is defined. */ +#ifndef O_BINARY +#define O_BINARY 0 +#endif #ifndef HAVE_STRLCPY size_t strlcpy(char *d, const char *s, size_t bufsize);