[PATCH 04/17] lxc_fuse: Move #include <fuse.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is no need to include the fuse.h from the header file.
Move the include into the lxc_fuse.c then.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/lxc/lxc_fuse.c | 5 +++++
 src/lxc/lxc_fuse.h | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c
index 0550ff5ab4..3732f2e245 100644
--- a/src/lxc/lxc_fuse.c
+++ b/src/lxc/lxc_fuse.c
@@ -25,6 +25,11 @@
 #include <mntent.h>
 #include <unistd.h>
 
+#if WITH_FUSE
+# define FUSE_USE_VERSION 26
+# include <fuse.h>
+#endif
+
 #include "lxc_fuse.h"
 #include "lxc_cgroup.h"
 #include "lxc_conf.h"
diff --git a/src/lxc/lxc_fuse.h b/src/lxc/lxc_fuse.h
index 195e1e431a..4065bff7ce 100644
--- a/src/lxc/lxc_fuse.h
+++ b/src/lxc/lxc_fuse.h
@@ -20,11 +20,6 @@
 
 #pragma once
 
-#define FUSE_USE_VERSION 26
-
-#if WITH_FUSE
-# include <fuse.h>
-#endif
 
 #include "virconftypes.h"
 
-- 
2.34.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux