qga: 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:
Michael S. Tsirkin 2018-05-03 22:50:57 +03:00
parent f27f01db03
commit dc03272da6
8 changed files with 13 additions and 13 deletions

View File

@ -2,7 +2,7 @@
#include <termios.h> #include <termios.h>
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/sockets.h" #include "qemu/sockets.h"
#include "qga/channel.h" #include "channel.h"
#ifdef CONFIG_SOLARIS #ifdef CONFIG_SOLARIS
#include <stropts.h> #include <stropts.h>

View File

@ -1,8 +1,8 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <windows.h> #include <windows.h>
#include <io.h> #include <io.h>
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
#include "qga/channel.h" #include "channel.h"
typedef struct GAChannelReadState { typedef struct GAChannelReadState {
guint thread_id; guint thread_id;

View File

@ -16,7 +16,7 @@
#include <sys/utsname.h> #include <sys/utsname.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <dirent.h> #include <dirent.h>
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
#include "qga-qapi-commands.h" #include "qga-qapi-commands.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"

View File

@ -32,8 +32,8 @@
#include <wtsapi32.h> #include <wtsapi32.h>
#include <wininet.h> #include <wininet.h>
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
#include "qga/vss-win32.h" #include "vss-win32.h"
#include "qga-qapi-commands.h" #include "qga-qapi-commands.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"

View File

@ -11,7 +11,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
#include "qga-qapi-commands.h" #include "qga-qapi-commands.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"

View File

@ -10,7 +10,7 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
struct GACommandState { struct GACommandState {
GSList *groups; GSList *groups;

View File

@ -23,12 +23,12 @@
#include "qapi/qmp/qdict.h" #include "qapi/qmp/qdict.h"
#include "qapi/qmp/qjson.h" #include "qapi/qmp/qjson.h"
#include "qapi/qmp/qstring.h" #include "qapi/qmp/qstring.h"
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qga-qapi-commands.h" #include "qga-qapi-commands.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qga/channel.h" #include "channel.h"
#include "qemu/bswap.h" #include "qemu/bswap.h"
#include "qemu/help_option.h" #include "qemu/help_option.h"
#include "qemu/sockets.h" #include "qemu/sockets.h"

View File

@ -14,9 +14,9 @@
#include <windows.h> #include <windows.h>
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qga/guest-agent-core.h" #include "guest-agent-core.h"
#include "qga/vss-win32.h" #include "vss-win32.h"
#include "qga/vss-win32/requester.h" #include "vss-win32/requester.h"
#define QGA_VSS_DLL "qga-vss.dll" #define QGA_VSS_DLL "qga-vss.dll"