* src/storage_backend_fs.c: Make mntent.h specific to the FS storage

backend, patch by John Levon
daniel
This commit is contained in:
Daniel Veillard 2009-01-06 08:43:44 +00:00
parent 34ac4c1fe7
commit 0dbcac6598
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Jan 6 09:42:34 CET 2009 Daniel Veillard <veillard@redhat.com>
* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
backend, patch by John Levon
Mon Jan 5 2009 14:53:48 CET John Levon <john.levon@sun.com>
split up linker script, as described below and in

View File

@ -31,7 +31,6 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <mntent.h>
#include <string.h>
#include <libxml/parser.h>
@ -242,6 +241,9 @@ static int virStorageBackendProbeFile(virConnectPtr conn,
}
#if WITH_STORAGE_FS
#include <mntent.h>
struct _virNetfsDiscoverState {
const char *host;
virStoragePoolSourceList list;