提交 1ce3b61f 编写于 作者: P Peter Krempa 提交者: Daniel Veillard

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.
上级 79cf07af
......@@ -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__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册