mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-12 03:06:34 +08:00
(FreeBSD) Build fixes for urbdrc
This commit is contained in:
parent
0ad87d98ca
commit
d796920f8f
@ -510,7 +510,7 @@ static void* urbdrc_search_usb_device(void* arg)
|
||||
size_t val_size, tm;
|
||||
long idVendor, idProduct;
|
||||
long busnum, devnum;
|
||||
int action, success, error, found, on_close;
|
||||
int action, success, found, on_close;
|
||||
struct sockaddr_un sun;
|
||||
DWORD status;
|
||||
UINT32 error;
|
||||
@ -536,7 +536,7 @@ static void* urbdrc_search_usb_device(void* arg)
|
||||
|
||||
/* Get the file descriptor (fd) for the monitor.
|
||||
This fd will get passed to select() */
|
||||
mon_fd = CreateFileDescriptorEvent(NULL, TRUE, FALSE, devd_skt);
|
||||
mon_fd = CreateFileDescriptorEvent(NULL, TRUE, FALSE, devd_skt, WINPR_FD_READ);
|
||||
listobj[0] = searchman->term_event;
|
||||
listobj[1] = mon_fd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user