Skip to content

Commit

Permalink
colo: use local path for local headers
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
  • Loading branch information
mstsirkin committed Jun 1, 2018
1 parent 53d37d3 commit f27f01d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/colo-compare.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion net/colo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion net/filter-rewriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f27f01d

Please sign in to comment.