r15261: Work around AIX defining open as open64 again
authorJelmer Vernooij <jelmer@samba.org>
Wed, 26 Apr 2006 00:10:57 +0000 (00:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:27 +0000 (14:04 -0500)
source/ntvfs/nbench/vfs_nbench.c

index 0a5dff9bd0f60ecd9d74668540a4a656898ba2a8..77de9791530ef5023f3a2295c0ff0e8ccff433ef 100644 (file)
@@ -25,8 +25,8 @@
 */
 
 #include "includes.h"
-#include "system/filesys.h"
 #include "ntvfs/ntvfs.h"
+#include "system/filesys.h"
 
 /* this is stored in ntvfs_private */
 struct nbench_private {
@@ -314,7 +314,7 @@ static NTSTATUS nbench_open(struct ntvfs_module_context *ntvfs,
 {
        NTSTATUS status;
 
-#undef open
+#undef open /* AIX defines open to be open64 */
        PASS_THRU_REQ(ntvfs, req, open, io, (ntvfs, req, io));
 
        return status;