]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
authorDaniel Veillard <veillard@redhat.com>
Tue, 6 Jan 2009 08:43:44 +0000 (08:43 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 6 Jan 2009 08:43:44 +0000 (08:43 +0000)
  backend, patch by John Levon
daniel

ChangeLog
src/storage_backend_fs.c

index 0783425368a81e43188d3f34df9ae74e3d1a3ddb..426a5888722aa036b546a7ab6d4b6dd75f2f9639 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d0d8224383a6bcfa5d41fbe24ba5f668baad4256..c619dfc6268b72d5439f416e0aeda079ff09e126 100644 (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;