diff --git a/Source/util.cpp b/Source/util.cpp index 98167656..f7a934d5 100644 --- a/Source/util.cpp +++ b/Source/util.cpp @@ -10,6 +10,8 @@ #ifndef _WIN32 # include +# include // for close(2) +# include // for open(2) #endif #include // for assert @@ -404,6 +406,7 @@ int wsprintf(char *s, const char *format, ...) { char *my_convert(const char *path) { + // TODO: (orip) ref. this func. to use std::string? char *converted_path = strdup(path); size_t len = strlen(path); @@ -526,3 +529,4 @@ string get_dir_name(const string& path) { return path; return path.substr(0, last_separator_pos); } +