aboutsummaryrefslogtreecommitdiff
path: root/unpack
diff options
context:
space:
mode:
Diffstat (limited to 'unpack')
-rw-r--r--unpack/Makemodule.am2
-rw-r--r--unpack/restore_fstree.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/unpack/Makemodule.am b/unpack/Makemodule.am
index 2609db4..b137787 100644
--- a/unpack/Makemodule.am
+++ b/unpack/Makemodule.am
@@ -2,6 +2,6 @@ rdsquashfs_SOURCES = unpack/rdsquashfs.c unpack/rdsquashfs.h
rdsquashfs_SOURCES += unpack/list_files.c unpack/options.c
rdsquashfs_SOURCES += unpack/restore_fstree.c unpack/describe.c
rdsquashfs_SOURCES += unpack/fill_files.c unpack/dump_xattrs.c
-rdsquashfs_LDADD = libcommon.a libsquashfs.la libutil.la
+rdsquashfs_LDADD = libcommon.a libcompat.a libsquashfs.la libutil.la
bin_PROGRAMS += rdsquashfs
diff --git a/unpack/restore_fstree.c b/unpack/restore_fstree.c
index dbcebfa..7cecf16 100644
--- a/unpack/restore_fstree.c
+++ b/unpack/restore_fstree.c
@@ -258,7 +258,7 @@ static int set_attribs(sqfs_xattr_reader_t *xattr,
goto fail;
}
}
-
+#endif
if (flags & UNPACK_CHOWN) {
if (fchownat(AT_FDCWD, path, n->uid, n->gid,
AT_SYMLINK_NOFOLLOW)) {
@@ -276,7 +276,7 @@ static int set_attribs(sqfs_xattr_reader_t *xattr,
goto fail;
}
}
-#endif
+
free(path);
return 0;
fail: