Skip to contentSkip to conversation

Include zlib.h using #include <>

PATCH Applied Stefan Weil 2 participants 2 messages Nov 20, 2011 – Nov 22, 2011 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include zlib.h using #include <>

zlib.h is not a local include file, therefore it should be included using <> instead of "".

---
 block/vmdk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
block/vmdk.c +1 -1
index e53a2f0..96f7d5d 100644
@@ -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')
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 4 lines · Stefan Weil

zlib.h is not a local include file, therefore it should be included using<> instead of "".

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 17 lines
---
  block/vmdk.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
block/vmdk.c +1 -1
index e53a2f0..96f7d5d 100644
@@ -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')