diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-01-27 18:54:00 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-01-27 18:54:00 +0200 |
commit | 1c49d54894aec778efa3fef6da5ae992f21b8d1d (patch) | |
tree | 4eaf293eafadd8f8b293e60620d77357f7644a02 /innobase/os | |
parent | 563ebb432882891b9aab845ebb4e96ac363c1270 (diff) | |
download | mariadb-git-1c49d54894aec778efa3fef6da5ae992f21b8d1d.tar.gz |
os0file.c:
Add includes for the _stat() call to compile on Windows in Hot Backup build
innobase/os/os0file.c:
Add includes for the _stat() call to compile on Windows in Hot Backup build
Diffstat (limited to 'innobase/os')
-rw-r--r-- | innobase/os/os0file.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 64d80350275..a2c5365993c 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -15,6 +15,13 @@ Created 10/21/1995 Heikki Tuuri #include "fil0fil.h" #include "buf0buf.h" +#if defined(UNIV_HOTBACKUP) && defined(__WIN__) +/* Add includes for the _stat() call to compile on Windows */ +#include <sys/types.h> +#include <sys/stat.h> +#include <errno.h> +#endif /* UNIV_HOTBACKUP */ + #undef HAVE_FDATASYNC #ifdef POSIX_ASYNC_IO |