From: Wayne Davison Date: Fri, 8 Oct 2004 21:27:22 +0000 (+0000) Subject: Handle systems where the makedev() macro is named mkdev(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/73496a36a1907112da0415005462fa0bb11d5500 Handle systems where the makedev() macro is named mkdev(). --- diff --git a/rsync.h b/rsync.h index b1027d71..fb6b78c7 100644 --- a/rsync.h +++ b/rsync.h @@ -255,6 +255,9 @@ enum msgcode { #if MAJOR_IN_MKDEV #include +# if !defined(makedev) && defined(mkdev) +# define makedev mkdev +# endif #elif MAJOR_IN_SYSMACROS #include #endif