]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tweak lstat.c to avoid mingw link failure
authorJim Meyering <meyering@redhat.com>
Fri, 7 Nov 2008 16:44:38 +0000 (16:44 +0000)
committerJim Meyering <meyering@redhat.com>
Fri, 7 Nov 2008 16:44:38 +0000 (16:44 +0000)
commit1dea5535b017a169c4e89172583ed168307e8c8d
treea68484137f84b940afdfdfa04fffedcf5f37d6b6
parent0e7a56522983341d701f049b74e0a3b2f77497ac
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.  Reported by Daniel P. Berrange.
ChangeLog
gnulib/lib/lstat.c