]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.C
make "make distcheck" work
[lyx.git] / src / support / path.C
index 2d347118839be3863e573c4b484789a3cd8b4ff4..b7db0a299af77e212bb6d395b74ae8a0495d6cab 100644 (file)
 // Needed to prevent the definition of the unnamed_Path macro in the header file.
 #define PATH_C
 
-#include "path.h"
-#include "lyxlib.h"
+#include "support/path.h"
+#include "support/lyxlib.h"
+
+
+using std::string;
+
 
 namespace lyx {
 namespace support {
@@ -24,6 +28,7 @@ Path::Path(string const & path)
 {
        if (!path.empty()) {
                pushedDir_ = getcwd();
+
                if (pushedDir_.empty() || chdir(path))
                        /* FIXME: throw */;
        } else {