]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:torture: Fix the FreeBSD build
authorVolker Lendecke <vl@samba.org>
Wed, 31 Jul 2019 08:52:40 +0000 (10:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 1 Aug 2019 14:21:36 +0000 (14:21 +0000)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14060

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/torture/torture.c

index ad6b3458f3cdd090ebcfa25b8567c9eb664adac1..2779e8e3aa80c1f997befcbe8f57fd501e9fa748 100644 (file)
@@ -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,