Index: cam.c =================================================================== --- cam.c (revision 36997) +++ cam.c (revision 36998) @@ -264,7 +264,7 @@ return 1; } -static void export_cam_do_export(rnd_hid_t *hid, rnd_hid_attr_val_t *options) +static void export_cam_do_export(rnd_hid_t *hid, rnd_design_t *design, rnd_hid_attr_val_t *options, void *appspec) { if (!cam_export_has_outfile) cam_init_inst_fn(&cam_export_ctx); Index: cam_compile.c =================================================================== --- cam_compile.c (revision 36997) +++ cam_compile.c (revision 36998) @@ -118,7 +118,7 @@ { /* call the exporter */ void *old_vars, *tmp; old_vars = pcb_cam_vars_use(ctx->vars); - ctx->exporter->do_export(ctx->exporter, 0); + ctx->exporter->do_export(ctx->exporter, ctx->hidlib, 0, NULL); tmp = pcb_cam_vars_use(old_vars); assert(tmp == ctx->vars); /* we must be restoring from our own context else the recursion is broken */ }