From: Volker Lendecke Date: Wed, 31 Jul 2019 08:52:40 +0000 (+0200) Subject: s3:torture: Fix the FreeBSD build X-Git-Tag: tdb-1.4.2~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e140d25cd3cad8428e3b080ef28dd237d903d5;p=thirdparty%2Fsamba.git s3:torture: Fix the FreeBSD build Bug: https://bugzilla.samba.org/show_bug.cgi?id=14060 Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index ad6b3458f3c..2779e8e3aa8 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -13993,10 +13993,12 @@ static struct { .name = "OPLOCK4", .fn = run_oplock4, }, +#ifdef HAVE_KERNEL_OPLOCKS_LINUX { .name = "OPLOCK5", .fn = run_oplock5, }, +#endif { .name = "DIR", .fn = run_dirtest,