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 b1027d7..fb6b78c 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