Navigation Menu

Skip to content

Commit

Permalink
mysql8.0: include headers for stat() explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 29, 2018
1 parent b3745bd commit 9a351a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/mrn_database_manager.cpp
Expand Up @@ -2,7 +2,7 @@
/*
Copyright(C) 2010 Tetsuro IKEDA
Copyright(C) 2010-2013 Kentoku SHIBA
Copyright(C) 2011-2015 Kouhei Sutou <kou@clear-code.com>
Copyright(C) 2011-2018 Kouhei Sutou <kou@clear-code.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -31,6 +31,9 @@
// for debug
#define MRN_CLASS_NAME "mrn::DatabaseManager"

#include <sys/types.h>
#include <sys/stat.h>

#ifdef WIN32
# include <direct.h>
# define MRN_MKDIR(pathname, mode) _mkdir((pathname))
Expand Down

0 comments on commit 9a351a4

Please sign in to comment.