From 2c2259eee5565e045e2d2ff6c932f0b3901a42c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Tue, 19 Jan 2010 18:38:22 -0500 Subject: [PATCH] fix build error on Tru64, where UF_NODUMP is not defined SVN-Revision: 1837 --- tar/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tar/write.c b/tar/write.c index bf59f2746..fcf6eecfc 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)) -- 2.47.3