executor: use the SYZ_USB define for NetBSD

This commit is contained in:
m00nbsd 2020-05-21 07:47:27 +02:00 committed by Dmitry Vyukov
parent 49c689a527
commit df09374f0c
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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>