Fix for device nodes. (dann frazier) (Debian #129135)
authorMartin Pool <mbp@samba.org>
Fri, 25 Jan 2002 10:39:08 +0000 (10:39 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 25 Jan 2002 10:39:08 +0000 (10:39 +0000)
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;
        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
 
        file->rdev = st.st_rdev;
 #endif