aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-05-03 22:50:20 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-05-31 04:16:06 +0300
commit0d8c41dae5b0566d0022be2af84d50ff456b3537 (patch)
tree155f43a426f2d7bf37a18403e544bace051bddc8 /block/qcow2.c
parentfa0d421f39b353ed2de901bb798f81ce9824c2f3 (diff)
downloadqemu-0d8c41dae5b0566d0022be2af84d50ff456b3537.zip
qemu-0d8c41dae5b0566d0022be2af84d50ff456b3537.tar.gz
qemu-0d8c41dae5b0566d0022be2af84d50ff456b3537.tar.bz2
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>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r--block/qcow2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/qcow2.c b/block/qcow2.c
index 6d53247..db13109 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -27,7 +27,7 @@
#include "sysemu/block-backend.h"
#include "qemu/module.h"
#include <zlib.h>
-#include "block/qcow2.h"
+#include "qcow2.h"
#include "qemu/error-report.h"
#include "qapi/error.h"
#include "qapi/qapi-events-block-core.h"
@@ -39,7 +39,7 @@
#include "qemu/bswap.h"
#include "qapi/qobject-input-visitor.h"
#include "qapi/qapi-visit-block-core.h"
-#include "block/crypto.h"
+#include "crypto.h"
/*
Differences with QCOW: