summaryrefslogtreecommitdiff
path: root/tar/write.c
diff options
context:
space:
mode:
authorBjörn Jacke <bjacke@gmail.com>2010-01-19 18:38:22 -0500
committerBjörn Jacke <bjacke@gmail.com>2010-01-19 18:38:22 -0500
commit2c2259eee5565e045e2d2ff6c932f0b3901a42c0 (patch)
tree78ab912fed82541eb33a8341152d991621820936 /tar/write.c
parentec67fe1ec87788368e81481ecd5a5b523fcbb17c (diff)
downloadlibarchive-2c2259eee5565e045e2d2ff6c932f0b3901a42c0.tar.gz
fix build error on Tru64, where UF_NODUMP is not defined
SVN-Revision: 1837
Diffstat (limited to 'tar/write.c')
-rw-r--r--tar/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/write.c b/tar/write.c
index bf59f274..fcf6eecf 100644
--- a/tar/write.c
+++ b/tar/write.c
@@ -833,7 +833,7 @@ write_hierarchy(struct bsdtar *bsdtar, struct archive *a, const char *path)
* If this file/dir is flagged "nodump" and we're
* honoring such flags, skip this file/dir.
*/
-#ifdef HAVE_STRUCT_STAT_ST_FLAGS
+#if defined(HAVE_STRUCT_STAT_ST_FLAGS) && defined(UF_NODUMP)
/* BSD systems store flags in struct stat */
if (bsdtar->option_honor_nodump &&
(lst->st_flags & UF_NODUMP))