mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
build: storage: Conditionaly compiled structure caused build fail on OSX
Struct virStoragePoolProbeResult was compiled in conditionaly, but virStorageBackendFileSystemProbe used it unconditionaly. This patch exempts the struct from conditional include.
This commit is contained in:
parent
79cf07af7c
commit
1ce3b61fa5
@ -29,12 +29,13 @@
|
||||
# if WITH_STORAGE_FS
|
||||
extern virStorageBackend virStorageBackendFileSystem;
|
||||
extern virStorageBackend virStorageBackendNetFileSystem;
|
||||
# endif
|
||||
|
||||
typedef enum {
|
||||
FILESYSTEM_PROBE_FOUND,
|
||||
FILESYSTEM_PROBE_NOT_FOUND,
|
||||
FILESYSTEM_PROBE_ERROR,
|
||||
} virStoragePoolProbeResult;
|
||||
# endif
|
||||
extern virStorageBackend virStorageBackendDirectory;
|
||||
|
||||
#endif /* __VIR_STORAGE_BACKEND_FS_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user