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:
Peter Krempa 2011-09-16 14:14:15 +02:00 committed by Daniel Veillard
parent 79cf07af7c
commit 1ce3b61fa5

View File

@ -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__ */