From 1f30020f856c65ba64fd0e7a663b1fb39c27c990 Mon Sep 17 00:00:00 2001 From: m00nbsd <42475391+m00nbsd@users.noreply.github.com> Date: Thu, 21 May 2020 10:39:30 +0200 Subject: executor: fix a USB define on NetBSD --- executor/common_bsd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 31012b737..a04d86a98 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -12,8 +12,10 @@ #include #if GOOS_netbsd -#if SYZ_EXECUTOR || SYZ_USB +#if SYZ_EXECUTOR || __NR_syz_usb_connect #include "common_usb_netbsd.h" +#endif +#if SYZ_EXECUTOR || SYZ_USB static void setup_usb(void) { if (chmod("/dev/vhci", 0666)) -- cgit mrf-deployment