summaryrefslogtreecommitdiffstats
path: root/source/include/vfs.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1999-05-11 23:58:20 +0000
committerTim Potter <tpot@samba.org>1999-05-11 23:58:20 +0000
commit117d369aed6576b5932d3f973a64ca8b6ed921dc (patch)
tree601f7bddbc7a5098f2dc4646eeca2c62a97e9fae /source/include/vfs.h
parent980a7b11f3dabce561a0ed02041695451bfeb391 (diff)
downloadsamba-117d369aed6576b5932d3f973a64ca8b6ed921dc.tar.gz
samba-117d369aed6576b5932d3f973a64ca8b6ed921dc.tar.xz
samba-117d369aed6576b5932d3f973a64ca8b6ed921dc.zip
Avoid a symbol conflict with /usr/include/sys/vfs.h under AIX.
Thanks to Steve Noyd Jones <noyd@u.washington.edu>
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index 80215b0036b..8e4c6454f58 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -90,6 +90,12 @@ struct vfs_connection_struct {
gid_t *groups;
};
+/* Avoid conflict with an AIX include file */
+
+#ifdef vfs_ops
+#undef vfs_ops
+#endif
+
/* VFS operations structure */
struct vfs_ops {