* src/toolbox/util.c (_Jv_getcwd): Moved convenience function to os wrapper.
[cacao.git] / src / vm / properties.cpp
index f5b66db4d3b487236a19f6461e24ebd148877eba..c605efd658881a172dc66e796c3f6f4f59678887 100644 (file)
 #include <unistd.h>
 #include <sys/utsname.h>
 
-#include "mm/memory.h"
+#include "mm/memory.hpp"
 
 #include "native/llni.h"
 
-#include "toolbox/util.h"
-
 #include "vm/class.hpp"
 #include "vm/global.h"
 #include "vm/method.hpp"
@@ -339,7 +337,7 @@ Properties::Properties()
 
        /* Get properties from system. */
 
-       char* cwd      = _Jv_getcwd();
+       char* cwd      = os::getcwd();
 
        char* env_user = os::getenv("USER");
        char* env_home = os::getenv("HOME");