* [Qemu-devel] [PATCH] Include zlib.h using #include <>
@ 2011-11-20 11:34 Stefan Weil
2011-11-22 0:22 ` Anthony Liguori
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2011-11-20 11:34 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, Stefan Weil
zlib.h is not a local include file, therefore it should be included
using <> instead of "".
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
block/vmdk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index e53a2f0..96f7d5d 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -26,7 +26,7 @@
#include "qemu-common.h"
#include "block_int.h"
#include "module.h"
-#include "zlib.h"
+#include <zlib.h>
#define VMDK3_MAGIC (('C' << 24) | ('O' << 16) | ('W' << 8) | 'D')
#define VMDK4_MAGIC (('K' << 24) | ('D' << 16) | ('M' << 8) | 'V')
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] Include zlib.h using #include <>
2011-11-20 11:34 [Qemu-devel] [PATCH] Include zlib.h using #include <> Stefan Weil
@ 2011-11-22 0:22 ` Anthony Liguori
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2011-11-22 0:22 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-trivial, qemu-devel
On 11/20/2011 05:34 AM, Stefan Weil wrote:
> zlib.h is not a local include file, therefore it should be included
> using<> instead of "".
>
> Signed-off-by: Stefan Weil<sw@weilnetz.de>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> block/vmdk.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/block/vmdk.c b/block/vmdk.c
> index e53a2f0..96f7d5d 100644
> --- a/block/vmdk.c
> +++ b/block/vmdk.c
> @@ -26,7 +26,7 @@
> #include "qemu-common.h"
> #include "block_int.h"
> #include "module.h"
> -#include "zlib.h"
> +#include<zlib.h>
>
> #define VMDK3_MAGIC (('C'<< 24) | ('O'<< 16) | ('W'<< 8) | 'D')
> #define VMDK4_MAGIC (('K'<< 24) | ('D'<< 16) | ('M'<< 8) | 'V')
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-22 0:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-20 11:34 [Qemu-devel] [PATCH] Include zlib.h using #include <> Stefan Weil
2011-11-22 0:22 ` Anthony Liguori
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.