From 3a5604637f3a205052b07863f7157900a8bd936e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 3 May 2023 17:20:07 +0200 Subject: executor: resolve pseudo syscall compilation problems --- executor/common_usb_netbsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_usb_netbsd.h') diff --git a/executor/common_usb_netbsd.h b/executor/common_usb_netbsd.h index 8705856d9..562d78278 100644 --- a/executor/common_usb_netbsd.h +++ b/executor/common_usb_netbsd.h @@ -149,6 +149,7 @@ struct usb_qualifier_descriptor { #define USB_REQ_GET_VDM 23 #define USB_REQ_SEND_VDM 24 +#if SYZ_EXECUTOR || __NR_syz_usb_connect #include "common_usb.h" static int vhci_open(void) @@ -307,7 +308,6 @@ static volatile long syz_usb_connect_impl(int fd, uint64 speed, uint64 dev_len, return fd; } -#if SYZ_EXECUTOR || __NR_syz_usb_connect static volatile long syz_usb_connect(volatile long a0, volatile long a1, volatile long a2, volatile long a3) { -- cgit mrf-deployment