Index: eps.c =================================================================== --- eps.c (revision 21189) +++ eps.c (revision 21190) @@ -10,6 +10,7 @@ #include "math_helper.h" #include "board.h" #include "data.h" +#include "draw.h" #include "layer.h" #include "pcb-printf.h" #include "safe_fs.h" @@ -306,7 +307,7 @@ fprintf(f, "/a { gsave setlinewidth translate scale 0 0 1 5 3 roll arc stroke grestore} bind def\n"); ctx.view = *bounds; - pcb_hid_expose_all(&eps_hid, &ctx); + pcb_hid_expose_all(&eps_hid, &ctx, NULL); fprintf(f, "showpage\n"); Index: ps.c =================================================================== --- ps.c (revision 21189) +++ ps.c (revision 21190) @@ -695,13 +695,13 @@ global.doing_toc = 1; global.pagecount = 1; /* 'pagecount' is modified by pcb_hid_expose_all() call */ - pcb_hid_expose_all(&ps_hid, &global.exps); + pcb_hid_expose_all(&ps_hid, &global.exps, NULL); } global.pagecount = 1; /* Reset 'pagecount' if single file */ global.doing_toc = 0; ps_set_layer_group(-1, NULL, -1, -1, 0, -1, NULL); /* reset static vars */ - pcb_hid_expose_all(&ps_hid, &global.exps); + pcb_hid_expose_all(&ps_hid, &global.exps, NULL); if (the_file) fprintf(the_file, "showpage\n");