mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +00:00
* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
backend, patch by John Levon daniel
This commit is contained in:
parent
34ac4c1fe7
commit
0dbcac6598
@ -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>
|
Mon Jan 5 2009 14:53:48 CET John Levon <john.levon@sun.com>
|
||||||
|
|
||||||
split up linker script, as described below and in
|
split up linker script, as described below and in
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <mntent.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <libxml/parser.h>
|
#include <libxml/parser.h>
|
||||||
@ -242,6 +241,9 @@ static int virStorageBackendProbeFile(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if WITH_STORAGE_FS
|
#if WITH_STORAGE_FS
|
||||||
|
|
||||||
|
#include <mntent.h>
|
||||||
|
|
||||||
struct _virNetfsDiscoverState {
|
struct _virNetfsDiscoverState {
|
||||||
const char *host;
|
const char *host;
|
||||||
virStoragePoolSourceList list;
|
virStoragePoolSourceList list;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user