aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_bsd.h4
1 files changed, 3 insertions, 1 deletions
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 <sys/syscall.h>
#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))