On Fri, Sep 16, 2011 at 02:14:15PM +0200, Peter Krempa wrote: > Struct virStoragePoolProbeResult was compiled in conditionaly, but > virStorageBackendFileSystemProbe used it unconditionaly. This patch > exempts the struct from conditional include. > --- > src/storage/storage_backend_fs.h | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/src/storage/storage_backend_fs.h b/src/storage/storage_backend_fs.h > index 54c6739..4f69056 100644 > --- a/src/storage/storage_backend_fs.h > +++ b/src/storage/storage_backend_fs.h > @@ -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__ */ Nice bug :-) ACK, I'm gonna push it, thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list