colo: 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.

Reviewed-by: Zhang Chen <zhangckid@gmail.com>
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>
stable-3.0
Michael S. Tsirkin 2018-05-03 22:50:56 +03:00
parent 53d37d36ca
commit f27f01db03
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
#include "net/queue.h"
#include "chardev/char-fe.h"
#include "qemu/sockets.h"
#include "net/colo.h"
#include "colo.h"
#include "sysemu/iothread.h"
#define TYPE_COLO_COMPARE "colo-compare"

View File

@ -14,7 +14,7 @@
#include "qemu/osdep.h"
#include "trace.h"
#include "net/colo.h"
#include "colo.h"
uint32_t connection_key_hash(const void *opaque)
{

View File

@ -11,7 +11,7 @@
#include "qemu/osdep.h"
#include "trace.h"
#include "net/colo.h"
#include "colo.h"
#include "net/filter.h"
#include "net/net.h"
#include "qemu-common.h"