aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/syz-extract/fetch.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/syz-extract/fetch.go b/sys/syz-extract/fetch.go
index 15b49864c..77410dd55 100644
--- a/sys/syz-extract/fetch.go
+++ b/sys/syz-extract/fetch.go
@@ -133,6 +133,8 @@ func compile(cc string, args []string, data *CompileData) (bin string, out []byt
}
var srcTemplate = template.Must(template.New("").Parse(`
+#define __asm__(...)
+
{{range $incl := $.Includes}}
#include <{{$incl}}>
{{end}}