aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-hid.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-05-03 22:50:48 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-06-01 19:20:38 +0300
commit463581a827ea8fd540ddf1d4260a7610d17f1b2e (patch)
treea42c3a7c1fda5a276e4fee2662ccb9ffa91fdfa2 /hw/usb/dev-hid.c
parent222ee196abe316ad21be8629b8be8e60bc3e8c4b (diff)
usb: use local path for local headers
When pulling in headers that are in the same directory as the C file (as opposed to one in include/), we should use its relative path, without a directory. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/usb/dev-hid.c')
-rw-r--r--hw/usb/dev-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
index c40019df96..62d18290dc 100644
--- a/hw/usb/dev-hid.c
+++ b/hw/usb/dev-hid.c
@@ -26,7 +26,7 @@
#include "hw/hw.h"
#include "ui/console.h"
#include "hw/usb.h"
-#include "hw/usb/desc.h"
+#include "desc.h"
#include "qapi/error.h"
#include "qemu/timer.h"
#include "hw/input/hid.h"