Index: fp_fs.c =================================================================== --- fp_fs.c (revision 25225) +++ fp_fs.c (revision 25226) @@ -34,6 +34,7 @@ #include "compat_inc.h" +#include "board.h" #include "data.h" #include "paths.h" #include "plugins.h" @@ -224,7 +225,7 @@ sprintf(working_, "%s%c%s", toppath, PCB_DIR_SEPARATOR_C, subdir); - pcb_path_resolve(working_, &working, 0, pcb_false); + pcb_path_resolve(&PCB->hidlib, working_, &working, 0, pcb_false); /* Return error if the root is not a directory, to give other fp_ plugins a chance */ if ((is_root) && (!pcb_is_dir(working))) { @@ -324,7 +325,7 @@ else strcpy(path, p); - pcb_path_resolve(path, &fpath, 0, pcb_false); + pcb_path_resolve(&PCB->hidlib, path, &fpath, 0, pcb_false); /* fprintf(stderr, " in '%s'\n", fpath);*/ fp_fs_list(&pcb_library, fpath, 1, fp_search_cb, &ctx, 1, 0);