Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f177b7c
)
Define O_BINARY as "0" if it isn't defined.
author
Wayne Davison
<wayned@samba.org>
Sun, 30 Mar 2003 23:00:49 +0000
(23:00 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 30 Mar 2003 23:00:49 +0000
(23:00 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
bd804f7
..
d897b3d
100644
(file)
--- 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);