mirror of https://gitee.com/openkylin/qemu.git
ui: 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>
This commit is contained in:
parent
dc03272da6
commit
0041e9a0ac
2
ui/gtk.c
2
ui/gtk.c
|
@ -66,7 +66,7 @@
|
|||
#define VC_SCALE_STEP 0.25
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
#include "ui/x_keymap.h"
|
||||
#include "x_keymap.h"
|
||||
|
||||
/* Gtk2 compat */
|
||||
#ifndef GDK_IS_X11_DISPLAY
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "ui/keymaps.h"
|
||||
#include "keymaps.h"
|
||||
#include "ui/input.h"
|
||||
|
||||
#include "standard-headers/linux/input.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "qapi/qapi-commands-ui.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "ui/console.h"
|
||||
#include "ui/keymaps.h"
|
||||
#include "keymaps.h"
|
||||
#include "ui/input.h"
|
||||
|
||||
struct QEMUPutMouseEntry {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "qemu-common.h"
|
||||
#include "ui/qemu-spice.h"
|
||||
#include "ui/console.h"
|
||||
#include "ui/keymaps.h"
|
||||
#include "keymaps.h"
|
||||
#include "ui/input.h"
|
||||
|
||||
/* keyboard bits */
|
||||
|
|
Loading…
Reference in New Issue