]> git.proxmox.com Git - mirror_qemu.git/commitdiff
colo: use local path for local headers
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 May 2018 19:50:56 +0000 (22:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Jun 2018 16:20:38 +0000 (19:20 +0300)
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>
net/colo-compare.c
net/colo.c
net/filter-rewriter.c

index 23b2d2c4cc662ffd4998eab7f4655cb3437c2f80..c3a2be4c90853aaa0abfd7a35b1c12037079440a 100644 (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"
index 842626502ed609d3e2c97bcda3e990b0bd375e75..6dda4ed66e5ca66095805630c2d9448f1a9237e9 100644 (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)
 {
index 62dad2d773c9c4900cff99dbbf337188f2d69ab9..f584e4eba46b2317bc8d991a6992873875226e3b 100644 (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"