Index: board.c =================================================================== --- board.c (revision 31016) +++ board.c (revision 31017) @@ -124,7 +124,7 @@ const char *tmp_fn = ".pcb-rnd.default.pcb"; /* We can parse from file only, make a temp file */ - f = pcb_fopen_fn(NULL, tmp_fn, "wb", &efn); + f = rnd_fopen_fn(NULL, tmp_fn, "wb", &efn); if (f != NULL) { fwrite(default_pcb_internal, strlen(default_pcb_internal), 1, f); fclose(f); @@ -133,7 +133,7 @@ rnd_message(RND_MSG_WARNING, "Couldn't find default.pcb - using the embedded fallback\n"); else rnd_message(RND_MSG_ERROR, "Couldn't find default.pcb and failed to load the embedded fallback\n"); - pcb_remove(NULL, efn); + rnd_remove(NULL, efn); free(efn); } }