aboutsummaryrefslogtreecommitdiffstats
path: root/tar/test/test_option_fflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/test/test_option_fflags.c')
-rw-r--r--tar/test/test_option_fflags.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tar/test/test_option_fflags.c b/tar/test/test_option_fflags.c
index 77a4e3e19f0f..f223feb19069 100644
--- a/tar/test/test_option_fflags.c
+++ b/tar/test/test_option_fflags.c
@@ -25,6 +25,10 @@
#include "test.h"
__FBSDID("$FreeBSD$");
+#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__BORLANDC__)
+#define chmod _chmod
+#endif
+
static void
clear_fflags(const char *pathname)
{