[libvirt] _lstat link failure on mingw
Daniel P. Berrange
berrange at redhat.com
Fri Nov 7 14:49:21 UTC 2008
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 at redhat.com>
> 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 :|
More information about the libvir-list
mailing list