Index: read.c =================================================================== --- read.c (revision 31445) +++ read.c (revision 31446) @@ -42,6 +42,7 @@ #include #include #include +#include #include "netlist.h" #include "obj_subc.h" @@ -674,11 +675,11 @@ { rnd_coord_t xaux1 = x2, yaux1 = y1; rnd_coord_t xaux3 = x1, yaux3 = y2; - /* This handles bbox rotation. However I get rnd_rotate undefined reference ld linker error */ - /* rnd_rotate(&xaux1, &yaux1, xc, yc, cosa, sina); */ - /* rnd_rotate(&xaux3, &yaux3, xc, yc, cosa, sina); */ - /* rnd_rotate(&x1, &y1, xc, yc, cosa, sina); */ - /* rnd_rotate(&x2, &y2, xc, yc, cosa, sina); */ + /* This handles bbox rotation. */ + rnd_rotate(&xaux1, &yaux1, xc, yc, cosa, sina); + rnd_rotate(&xaux3, &yaux3, xc, yc, cosa, sina); + rnd_rotate(&x1, &y1, xc, yc, cosa, sina); + rnd_rotate(&x2, &y2, xc, yc, cosa, sina); } pcb_line_new(ly, x1, y1, x2, y1, thickness, cl, DEFAULT_OBJ_FLAG);