Index: obj_text_draw.h =================================================================== --- obj_text_draw.h (revision 4631) +++ obj_text_draw.h (revision 4632) @@ -25,8 +25,13 @@ */ /*** Standard draw of text ***/ -#include "rtree.h" + + +/* Include rtree.h for these */ +#ifdef PCB_RTREE_H r_dir_t draw_text_callback(const BoxType * b, void *cl); +#endif + void DrawTextLowLevel(TextTypePtr Text, Coord min_line_width); void EraseText(LayerTypePtr Layer, TextTypePtr Text); void DrawText(LayerTypePtr Layer, TextTypePtr Text);