Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS.
[rsync/rsync.git]
/
rsync.h
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