[libvirt] [PATCH] Fix tip of git

Eric Blake eblake at redhat.com
Tue Nov 15 21:41:27 UTC 2011


On 11/15/2011 12:40 PM, Stefan Berger wrote:
> I get these type of compilation errors:
> 
> In file included from util/virnetdevvportprofile.c:25:0:
> util/virnetdevvportprofile.h:49:13: error: expected
> specifier-qualifier-list before 'uint8_t'
> util/virnetdevvportprofile.c: In function 'virNetDevVPortProfileEqual':
> util/virnetdevvportprofile.c:45:33: error: 'struct <anonymous>' has no
> member named 'managerID'

On which platform (or more likely, with which version of libc headers?)

> 
> This patch trivially fixes it:
> 
> --- a/src/util/virnetdevvportprofile.h
> +++ b/src/util/virnetdevvportprofile.h
> @@ -23,6 +23,8 @@
>  #ifndef __VIR_NETDEV_VPORT_PROFILE_H__
>  # define __VIR_NETDEV_VPORT_PROFILE_H__
> 
> +# include <stdint.h>
> +
>  # include "internal.h"

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111115/fc7680cc/attachment-0001.sig>


More information about the libvir-list mailing list