summaryrefslogtreecommitdiff
path: root/source3/include
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
commitc2919e499a755014ade1381552f4d808f443d89f (patch)
tree330a3bc5c8d92476d4a3d1cdfe43d6431e8ea277 /source3/include
parent810d9a1627980042daa7b5c2f8ceeb225a2c5275 (diff)
downloadsamba-c2919e499a755014ade1381552f4d808f443d89f.tar.gz
samba-c2919e499a755014ade1381552f4d808f443d89f.tar.bz2
samba-c2919e499a755014ade1381552f4d808f443d89f.zip
Avoid a symbol conflict with /usr/include/sys/vfs.h under AIX.
Thanks to Steve Noyd Jones <noyd@u.washington.edu> (This used to be commit 117d369aed6576b5932d3f973a64ca8b6ed921dc)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/vfs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 80215b0036..8e4c6454f5 100644
--- a/source3/include/vfs.h
+++ b/source3/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 {