mirror of https://gitee.com/openkylin/libvirt.git
util: file: Use only one #ifdef for __linux__
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
2b26ea1441
commit
a33a3b1006
|
@ -57,11 +57,10 @@
|
||||||
# include <linux/magic.h>
|
# include <linux/magic.h>
|
||||||
# endif
|
# endif
|
||||||
# include <sys/statfs.h>
|
# include <sys/statfs.h>
|
||||||
#endif
|
# if HAVE_DECL_LO_FLAGS_AUTOCLEAR
|
||||||
|
# include <linux/loop.h>
|
||||||
#if defined(__linux__) && HAVE_DECL_LO_FLAGS_AUTOCLEAR
|
# include <sys/ioctl.h>
|
||||||
# include <linux/loop.h>
|
# endif
|
||||||
# include <sys/ioctl.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "configmake.h"
|
#include "configmake.h"
|
||||||
|
|
Loading…
Reference in New Issue