block: 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>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
Michael S. Tsirkin 2018-05-03 22:50:20 +03:00
parent fa0d421f39
commit 0d8c41dae5
11 changed files with 12 additions and 12 deletions

View file

@ -28,7 +28,7 @@
#include "qapi/error.h"
#include "qemu-common.h"
#include "block/block_int.h"
#include "block/qcow2.h"
#include "qcow2.h"
#include "qemu/bswap.h"
#include "trace.h"