X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Ftest-file-path.cc;h=a20364b98cf6214e0f727ec9a9672fef85f217d0;hb=1567b963aac4dc442d08cd9d7032e9ebde3b4978;hp=37ff3277eccab5b49ad2bded6d4ef42e4fb8b140;hpb=a42aaa559b71ce5776795fa11a7e1df9110d85b7;p=lilypond.git diff --git a/flower/test-file-path.cc b/flower/test-file-path.cc index 37ff3277ec..a20364b98c 100644 --- a/flower/test-file-path.cc +++ b/flower/test-file-path.cc @@ -1,6 +1,7 @@ #include "file-path.hh" #include +#include #include "yaffut.hh" #include "config.hh" @@ -10,10 +11,11 @@ TEST (File_path, Find) char const *extensions[] = {"ly", "", 0}; string file = "init"; char cwd[PATH_MAX]; - if (!getcwd (cwd, PATH_MAX)) { - cerr << "Could not get current work directory\n"; - exit (1); - } + if (!getcwd (cwd, PATH_MAX)) + { + cerr << "Could not get current work directory\n"; + exit (1); + } string ly_dir = string (getenv ("top-src-dir")) + "/ly"; parse_path (string (1, PATHSEP) + ly_dir); string file_name = find (file, extensions);