[libvirt PATCH v2 02/13] virstoragefile: properly include virstoragefile.h header

Pavel Hrdina posted 13 patches 5 years ago
[libvirt PATCH v2 02/13] virstoragefile: properly include virstoragefile.h header
Posted by Pavel Hrdina 5 years ago
It was indirectly included by virstoragefilebackend.h.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
---
 src/util/virstoragefile.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
index 0d3c2af94f..17579126b0 100644
--- a/src/util/virstoragefile.c
+++ b/src/util/virstoragefile.c
@@ -20,7 +20,7 @@
  */
 
 #include <config.h>
-#include "virstoragefilebackend.h"
+#include "virstoragefile.h"
 
 #include <unistd.h>
 #include <fcntl.h>
@@ -38,6 +38,7 @@
 #include "virbuffer.h"
 #include "virjson.h"
 #include "virstorageencryption.h"
+#include "virstoragefilebackend.h"
 #include "virsecret.h"
 #include "virutil.h"
 
-- 
2.29.2

Re: [libvirt PATCH v2 02/13] virstoragefile: properly include virstoragefile.h header
Posted by Peter Krempa 5 years ago
On Thu, Jan 21, 2021 at 20:34:16 +0100, Pavel Hrdina wrote:
> It was indirectly included by virstoragefilebackend.h.
> 
> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
> ---
>  src/util/virstoragefile.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa@redhat.com>