# include <sys/types.h>
#endif
#include <fcntl.h>
-
-
-namespace lyx {
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
# include <windows.h>
#endif
+namespace lyx {
+
+
int lyx::support::mkdir(std::string const & pathname, unsigned long int mode)
{
// FIXME: why don't we have mode_t in lyx::mkdir prototype ??