diff options
| author | m00nbsd <42475391+m00nbsd@users.noreply.github.com> | 2020-05-21 10:39:30 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-21 12:01:24 +0200 |
| commit | 1f30020f856c65ba64fd0e7a663b1fb39c27c990 (patch) | |
| tree | ea87e1659b13f16b6db075a6de421ca4841a5ea4 /executor/common_bsd.h | |
| parent | df09374f0c7fd6f0f085ea054892dc8f90ae725c (diff) | |
executor: fix a USB define on NetBSD
Diffstat (limited to 'executor/common_bsd.h')
| -rw-r--r-- | executor/common_bsd.h | 4 |
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)) |
