summaryrefslogtreecommitdiff
path: root/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp')
-rw-r--r--ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp b/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
index 68a474cb628..f73c1ec5ee7 100644
--- a/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
+++ b/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
@@ -23,20 +23,17 @@
#endif
#endif
+#include <ndb_global.h>
+
#include "Error.hpp"
#include "AsyncFile.hpp"
#include <ErrorHandlingMacros.hpp>
#include <kernel_types.h>
-#include <string.h>
#include <NdbMem.h>
#include <NdbThread.h>
#include <signaldata/FsOpenReq.hpp>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <errno.h>
-
#ifdef NDB_LINUX
// This is for pread and pwrite
#ifndef __USE_UNIX98
@@ -44,9 +41,7 @@
#endif
#endif
-#include <NdbUnistd.h>
#if defined NDB_WIN32 || defined NDB_OSE || defined NDB_SOFTOSE
-#include <NdbStdio.h>
#else
// For readv and writev
#include <sys/uio.h>