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
(from parent 1:
e8d9700
)
Define MAKEDEV() based on the MAKEDEV_TAKES_3_ARGS define.
author
Wayne Davison
<wayned@samba.org>
Mon, 10 Jul 2006 04:25:10 +0000
(
04:25
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 10 Jul 2006 04:25:10 +0000
(
04:25
+0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
bc7a46a
..
99f62e3
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-314,6
+314,12
@@
enum msgcode {
#include <sys/sysmacros.h>
#endif
+#ifdef MAKEDEV_TAKES_3_ARGS
+#define MAKEDEV(devmajor,devminor) makedev(0,devmajor,devminor)
+#else
+#define MAKEDEV(devmajor,devminor) makedev(devmajor,devminor)
+#endif
+
#ifdef HAVE_COMPAT_H
#include <compat.h>
#endif