Avoid a symbol conflict with /usr/include/sys/vfs.h under AIX.
authorTim Potter <tpot@samba.org>
Tue, 11 May 1999 23:58:20 +0000 (23:58 +0000)
committerTim Potter <tpot@samba.org>
Tue, 11 May 1999 23:58:20 +0000 (23:58 +0000)
Thanks to Steve Noyd Jones <noyd@u.washington.edu>
(This used to be commit 117d369aed6576b5932d3f973a64ca8b6ed921dc)

source3/include/vfs.h

index 80215b0036b99269a0d402b8517b0c4b5364b1ed..8e4c6454f58e46c1c80c4fe2cd407a7e7f6c0217 100644 (file)
@@ -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 {