aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--executor/common_bsd.h2
-rw-r--r--pkg/csource/generated.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h
index 4ed81a3a3..31012b737 100644
--- a/executor/common_bsd.h
+++ b/executor/common_bsd.h
@@ -12,7 +12,7 @@
#include <sys/syscall.h>
#if GOOS_netbsd
-#if SYZ_EXECUTOR || __NR_syz_usb_connect
+#if SYZ_EXECUTOR || SYZ_USB
#include "common_usb_netbsd.h"
static void setup_usb(void)
{
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index 204a766f1..b57105e9c 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -410,7 +410,7 @@ void child()
#include <sys/syscall.h>
#if GOOS_netbsd
-#if SYZ_EXECUTOR || __NR_syz_usb_connect
+#if SYZ_EXECUTOR || SYZ_USB
#include <dev/usb/usb.h>
#include <dev/usb/usbhid.h>