aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/syz-extract/freebsd.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/syz-extract/freebsd.go b/sys/syz-extract/freebsd.go
index 99f74d636..e809aff68 100644
--- a/sys/syz-extract/freebsd.go
+++ b/sys/syz-extract/freebsd.go
@@ -50,6 +50,7 @@ func (*freebsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]ui
"-DGENOFFSET",
"-D_KERNEL",
"-D__BSD_VISIBLE=1",
+ "-DCOMPAT_FREEBSD13",
"-I", filepath.Join(arch.sourceDir, "sys"),
"-I", filepath.Join(arch.sourceDir, "sys", "sys"),
"-I", filepath.Join(arch.sourceDir, "sys", "contrib", "ck", "include"),