Commit 5f78da20 authored by Martin Pool's avatar Martin Pool

Fix for device nodes. (dann frazier) (Debian #129135)

parent a05e4fa5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment