Fix for device nodes. (dann frazier) (Debian #129135)
[rsync/rsync.git] / flist.c
diff --git a/flist.c b/flist.c
index 7fa13ba..ab729c8 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -682,7 +682,7 @@ struct file_struct *make_file(int f, char *fname, struct string_area **ap,
        file->gid = st.st_gid;
        file->dev = st.st_dev;
        file->inode = st.st_ino;
-#ifdef HAVE_ST_RDEV
+#ifdef HAVE_STRUCT_STAT_ST_RDEV
        file->rdev = st.st_rdev;
 #endif