summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/nbench/vfs_nbench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c
index 0a5dff9bd0..77de979153 100644
--- a/source4/ntvfs/nbench/vfs_nbench.c
+++ b/source4/ntvfs/nbench/vfs_nbench.c
@@ -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;