Re: [PATCH 2/3] build: storage: Conditionaly compiled structure caused build fail on OSX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]