diff --git a/src/support/chdir.C b/src/support/chdir.C index 6ac268772c..e37d9cafbe 100644 --- a/src/support/chdir.C +++ b/src/support/chdir.C @@ -14,9 +14,6 @@ #include "support/filename.h" - -namespace lyx { - #ifdef HAVE_UNISTD_H # include #endif @@ -25,6 +22,9 @@ namespace lyx { # include #endif + +namespace lyx { + int support::chdir(FileName const & name) { #ifdef _WIN32