[libvirt] [RFC PATCH v1 3/7] include virterror_internal.h in threads.h

Daniel P. Berrange berrange at redhat.com
Wed Jan 16 10:13:18 UTC 2013


On Wed, Jan 16, 2013 at 10:53:05AM +0800, Hu Tao wrote:
> required by virSetError.
> ---
>  src/util/virthread.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/util/virthread.h b/src/util/virthread.h
> index b11a251..c209440 100644
> --- a/src/util/virthread.h
> +++ b/src/util/virthread.h
> @@ -23,6 +23,7 @@
>  # define __THREADS_H_
>  
>  # include "internal.h"
> +# include "virerror.h"
>  
>  typedef struct virMutex virMutex;
>  typedef virMutex *virMutexPtr;

AFAICT, the header file doesn't need this addition - the .c file
needs it.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list