summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/replace/system/filesys.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-30 18:06:57 +1000
committerAndrew Tridgell <tridge@samba.org>2007-05-30 18:06:57 +1000
commitcc87648933ab85140b1bff2853a61425e8887f11 (patch)
treea14acd3e23bdc8682add4440ec9c9690f8bbaec3 /ctdb/lib/replace/system/filesys.h
parent89ed660067d0226201fef5172d4af4fada400210 (diff)
downloadsamba-cc87648933ab85140b1bff2853a61425e8887f11.tar.gz
samba-cc87648933ab85140b1bff2853a61425e8887f11.tar.xz
samba-cc87648933ab85140b1bff2853a61425e8887f11.zip
merge lib/replace from samba4
(This used to be ctdb commit d1a0bcbe331b05ad7a3f5f7a33e4c9b5242c43f2)
Diffstat (limited to 'ctdb/lib/replace/system/filesys.h')
-rw-r--r--ctdb/lib/replace/system/filesys.h31
1 files changed, 20 insertions, 11 deletions
diff --git a/ctdb/lib/replace/system/filesys.h b/ctdb/lib/replace/system/filesys.h
index 3b68abe48a..b3c339a144 100644
--- a/ctdb/lib/replace/system/filesys.h
+++ b/ctdb/lib/replace/system/filesys.h
@@ -7,19 +7,24 @@
Copyright (C) Andrew Tridgell 2004
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ ** NOTE! The following LGPL license applies to the replace
+ ** library. This does NOT imply that all of Samba is released
+ ** under the LGPL
- This program is distributed in the hope that it will be useful,
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
*/
#include <unistd.h>
@@ -33,6 +38,10 @@
#include <sys/mount.h>
#endif
+#ifdef HAVE_MNTENT_H
+#include <mntent.h>
+#endif
+
#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif