X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=bt-host.c;h=49205bf288cf2441b1a78486c1593c8c576c1967;hb=30c367ed446b6ea53245589a5cf373578ac075d7;hp=2092754530a0dd3e7fe47be3e0a863b8e6067ce4;hpb=bb5801f551ee8591d576d87a9290af297998e322;p=qemu.git diff --git a/bt-host.c b/bt-host.c index 209275453..49205bf28 100644 --- a/bt-host.c +++ b/bt-host.c @@ -18,7 +18,7 @@ */ #include "qemu-common.h" -#include "bt/bt.h" +#include "sysemu/bt.h" #include "qemu/main-loop.h" #ifndef _WIN32 @@ -171,7 +171,7 @@ struct HCIInfo *bt_host_hci(const char *id) hci_filter_all_ptypes(&flt); hci_filter_all_events(&flt); - if (setsockopt(fd, SOL_HCI, HCI_FILTER, &flt, sizeof(flt)) < 0) { + if (qemu_setsockopt(fd, SOL_HCI, HCI_FILTER, &flt, sizeof(flt)) < 0) { fprintf(stderr, "qemu: Can't set HCI filter on socket (%i)\n", errno); return 0; }