summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/unit1621.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/unit1621.c b/tests/unit/unit1621.c
index 6e07b6ea9..618abedfa 100644
--- a/tests/unit/unit1621.c
+++ b/tests/unit/unit1621.c
@@ -35,7 +35,9 @@ static void unit_stop(void)
{
}
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || \
+ (!defined(HAVE_FSETXATTR) && \
+ (!defined(__FreeBSD_version) || (__FreeBSD_version < 500000)))
UNITTEST_START
{
return 0;