[libvirt] [PATCH] cgroup: Fix compilation broken on MinGW due to dirent->d_type

Eric Blake eblake at redhat.com
Wed Jun 30 14:34:35 UTC 2010


On 06/30/2010 05:49 AM, Ryota Ozaki wrote:
> As pointed out by Eric Blake, using dirent->d_type breaks
> compilation on MinGW. This patch addresses this by using
> '#if defined' as same as doing for virCgroupForDriver.
> ---
>  src/util/cgroup.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)

ACK, and tested on a cross compile to mingw.  Pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list