From ac9ea14a1211fc8f0009e08bfb72b90875a7da41 Mon Sep 17 00:00:00 2001 From: Simran Kathpalia Date: Thu, 20 May 2021 19:39:39 +0530 Subject: sys/syz-extract: added include directories for ck header --- sys/syz-extract/freebsd.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') 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 { -- cgit mrf-deployment