aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract
diff options
context:
space:
mode:
authorSimran Kathpalia <skathpalia3@gmail.com>2021-05-20 19:39:39 +0530
committerMark Johnston <markjdb@gmail.com>2021-05-29 11:29:48 -0400
commitac9ea14a1211fc8f0009e08bfb72b90875a7da41 (patch)
tree298be24eea0bde1a906b967f78b4d93c39f7cf14 /sys/syz-extract
parent858ea628800647d5e5b68b11441e42b8ef5652c1 (diff)
sys/syz-extract: added include directories for ck header
Diffstat (limited to 'sys/syz-extract')
-rw-r--r--sys/syz-extract/freebsd.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/syz-extract/freebsd.go b/sys/syz-extract/freebsd.go
index 708d0baa0..52300a383 100644
--- a/sys/syz-extract/freebsd.go
+++ b/sys/syz-extract/freebsd.go
@@ -47,6 +47,8 @@ func (*freebsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]ui
"-D__BSD_VISIBLE=1",
"-I", filepath.Join(arch.sourceDir, "sys"),
"-I", filepath.Join(arch.sourceDir, "sys", "sys"),
+ "-I", filepath.Join(arch.sourceDir, "sys", "contrib", "ck", "include"),
+ "-I", filepath.Join(arch.sourceDir, "include"),
"-I", arch.buildDir,
}
for _, incdir := range info.Incdirs {