]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Handle systems where the makedev() macro is named mkdev().
authorWayne Davison <wayned@samba.org>
Fri, 8 Oct 2004 21:27:22 +0000 (21:27 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 8 Oct 2004 21:27:22 +0000 (21:27 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index b1027d7136821a8fc078483a19964333c268467c..fb6b78c77bc459184538f4f40241c18ce70091dd 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -255,6 +255,9 @@ enum msgcode {
 
 #if MAJOR_IN_MKDEV
 #include <sys/mkdev.h>
+# if !defined(makedev) && defined(mkdev)
+#  define makedev mkdev
+# endif
 #elif MAJOR_IN_SYSMACROS
 #include <sys/sysmacros.h>
 #endif