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

Ryota Ozaki ozaki.ryota at gmail.com
Wed Jun 30 15:00:22 UTC 2010


On Wed, Jun 30, 2010 at 11:34 PM, Eric Blake <eblake at redhat.com> wrote:
> 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.

Thanks a lot!
  ozaki-r

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




More information about the libvir-list mailing list