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:
3c3791e
)
Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS.
author
Wayne Davison
<wayned@samba.org>
Fri, 9 Apr 2004 18:10:03 +0000
(18:10 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 9 Apr 2004 18:10:03 +0000
(18:10 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
9791094
..
3824773
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-246,8
+246,10
@@
enum msgcode {
# endif
#endif
-#if
def HAVE_SYS_MKDEV_H
+#if
MAJOR_IN_MKDEV
#include <sys/mkdev.h>
+#elif MAJOR_IN_SYSMACROS
+#include <sysmacros.h>
#endif
#ifdef HAVE_COMPAT_H