#include <config.h>
#include "support/Path.h"
-#include "support/lyxlib.h"
// undef PathChanger macro when building PathChanger
#undef PathChanger
: popped_(false)
{
if (!path.empty()) {
- pushedDir_ = getcwd();
+ pushedDir_ = FileName::getcwd();
if (pushedDir_.empty() || !path.chdir()) {
/* FIXME: throw */