diff options
Diffstat (limited to 'ndb/src/common/util/File.cpp')
-rw-r--r-- | ndb/src/common/util/File.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ndb/src/common/util/File.cpp b/ndb/src/common/util/File.cpp index 15698db3bc9..937b8c0fa59 100644 --- a/ndb/src/common/util/File.cpp +++ b/ndb/src/common/util/File.cpp @@ -17,6 +17,7 @@ #include <ndb_global.h> #include <File.hpp> + #include <NdbOut.hpp> #include <my_dir.h> @@ -28,13 +29,11 @@ bool File_class::exists(const char* aFileName) { bool rc = true; - #ifdef USE_MY_STAT_STRUCT struct my_stat stmp; #else struct stat stmp; #endif - if (my_stat(aFileName, &stmp, MYF(0)) != 0) { rc = false; |