Under Interix (Windows Services for Unix), the build of rsync fails at link because flist.c is calling makedev(), which is actually named mkdev() on Interix. To make rsync compatible with this, I suggest the following change (similar to what pkgsrc.org uses at the moment to make rsync work on Interix). --- rsync.h.orig +++ 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
I checked-in your suggested fix. Thanks!