Index: src_plugins/export_ps/eps.c =================================================================== --- src_plugins/export_ps/eps.c (revision 37055) +++ src_plugins/export_ps/eps.c (revision 37056) @@ -158,7 +158,7 @@ static rnd_hid_attr_val_t *options_; -void eps_hid_export_to_file(FILE * the_file, rnd_hid_attr_val_t *options, rnd_xform_t *xform) +void eps_hid_export_to_file(rnd_design_t *dsg, FILE * the_file, rnd_hid_attr_val_t *options, rnd_xform_t *xform) { int i; static int saved_layer_stack[PCB_MAX_LAYER]; @@ -277,7 +277,7 @@ if ((!eps_cam.active) && (!options[HA_as_shown].lng)) pcb_hid_save_and_show_layer_ons(save_ons); - eps_hid_export_to_file(pctx->outf, options, &xform); + eps_hid_export_to_file(design, pctx->outf, options, &xform); if ((!eps_cam.active) && (!options[HA_as_shown].lng)) pcb_hid_restore_layer_ons(save_ons); Index: src_plugins/export_ps/ps.c =================================================================== --- src_plugins/export_ps/ps.c (revision 37055) +++ src_plugins/export_ps/ps.c (revision 37056) @@ -374,7 +374,7 @@ /* This is used by other HIDs that use a postscript format, like lpr or eps. */ -void ps_hid_export_to_file(FILE * the_file, rnd_hid_attr_val_t * options, rnd_xform_t *xform) +void ps_hid_export_to_file(rnd_design_t *dsg, FILE * the_file, rnd_hid_attr_val_t * options, rnd_xform_t *xform) { static int saved_layer_stack[PCB_MAX_LAYER]; @@ -475,7 +475,7 @@ if (!ps_cam.active) pcb_hid_save_and_show_layer_ons(save_ons); - ps_hid_export_to_file(fh, options, &xform); + ps_hid_export_to_file(design, fh, options, &xform); if (!ps_cam.active) pcb_hid_restore_layer_ons(save_ons); Index: src_plugins/export_ps/ps.h =================================================================== --- src_plugins/export_ps/ps.h (revision 37055) +++ src_plugins/export_ps/ps.h (revision 37056) @@ -1,6 +1,6 @@ /* required by lpr */ extern rnd_hid_t ps_hid; -extern void ps_hid_export_to_file(FILE *, rnd_hid_attr_val_t *, rnd_xform_t *); +extern void ps_hid_export_to_file(rnd_design_t *dsg, FILE *, rnd_hid_attr_val_t *, rnd_xform_t *); void ps_ps_init(rnd_hid_t * hid); /* required for ps<->eps cross call */