aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-09-06 18:58:58 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-12 15:17:22 +0200
commitab359cd17e77163b672c5fc129cf4bcd0a3b38ce (patch)
tree8cb38d130448685023f1b272831d5d4e94a92617
parent29e05f202238fe0efee4a0ecccc3fd348448a37c (diff)
nbd: Clean up use of block_int.h
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--block/nbd.c1
-rw-r--r--nbd.c1
-rw-r--r--nbd.h2
3 files changed, 2 insertions, 2 deletions
diff --git a/block/nbd.c b/block/nbd.c
index 55cb2fd8ba..70edd81bd6 100644
--- a/block/nbd.c
+++ b/block/nbd.c
@@ -28,6 +28,7 @@
#include "qemu-common.h"
#include "nbd.h"
+#include "block_int.h"
#include "module.h"
#include "qemu_socket.h"
diff --git a/nbd.c b/nbd.c
index e7a585dcb0..6d81cfbcd0 100644
--- a/nbd.c
+++ b/nbd.c
@@ -17,6 +17,7 @@
*/
#include "nbd.h"
+#include "block.h"
#include <errno.h>
#include <string.h>
diff --git a/nbd.h b/nbd.h
index 273cfa1af4..df7b7af7c0 100644
--- a/nbd.h
+++ b/nbd.h
@@ -23,8 +23,6 @@
#include "qemu-common.h"
-#include "block_int.h"
-
struct nbd_request {
uint32_t magic;
uint32_t type;