Re: [libvirt] _lstat link failure on mingw

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

 



On Fri, Nov 07, 2008 at 02:46:16PM +0100, Jim Meyering wrote:
> This fixes a problem spotted by Rich Jones yesterday:
> 
> >From 5d5042ad904f8da6ffff93c1a5e392cd4d9b86a1 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering@xxxxxxxxxx>
> Date: Thu, 6 Nov 2008 20:46:46 +0100
> Subject: [PATCH] tweak lstat.c to avoid mingw link failure
> 
> * gnulib/lib/lstat.c: Include <sys/stat.h> *before* the
> use of stat in orig_stat.  Otherwise, on mingw (which lacks lstat),
> any program using the lstat module would not get the redefinition-
> to-stat provided by gnulib's sys/stat.h.

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
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]