mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
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>
|
||||
# endif
|
||||
# include <sys/statfs.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && HAVE_DECL_LO_FLAGS_AUTOCLEAR
|
||||
# include <linux/loop.h>
|
||||
# include <sys/ioctl.h>
|
||||
# if HAVE_DECL_LO_FLAGS_AUTOCLEAR
|
||||
# include <linux/loop.h>
|
||||
# include <sys/ioctl.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "configmake.h"
|
||||
|
Loading…
Reference in New Issue
Block a user