Index: trunk/src/Makefile.dep =================================================================== --- trunk/src/Makefile.dep (revision 4545) +++ trunk/src/Makefile.dep (revision 4546) @@ -2949,9 +2949,9 @@ list_rat.h crosshair.h hid.h error.h drc.h buffer.h draw.h line.h misc.h \ mymem.h polygon.h rtree.h math_helper.h search.h rats.h netlist.h \ route_style.h misc_util.h select.h operation.h set.h undo.h -intersect.o: intersect.c ../config.h intersect.h global_objs.h \ - ../src_3rd/genlist/gendlist.h attrib.h flag.h globalconst.h \ - global_typedefs.h pcb_bool.h unit.h polyarea.h box.h math_helper.h \ +intersect.o: intersect.c ../config.h intersect.h global_typedefs.h \ + pcb_bool.h unit.h box.h math_helper.h global_objs.h \ + ../src_3rd/genlist/gendlist.h attrib.h flag.h globalconst.h polyarea.h \ macro.h misc_util.h layer.o: layer.c ../config.h math_helper.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ Index: trunk/src/draw_fab.h =================================================================== --- trunk/src/draw_fab.h (revision 4545) +++ trunk/src/draw_fab.h (revision 4546) @@ -29,9 +29,8 @@ #ifndef PCB_PRINT_H #define PCB_PRINT_H -#include - #include "config.h" +#include "hid.h" int DrawFab_overhang(void); void DrawFab(hidGC gc); Index: trunk/src/intersect.h =================================================================== --- trunk/src/intersect.h (revision 4545) +++ trunk/src/intersect.h (revision 4546) @@ -35,7 +35,7 @@ #ifndef PCB_INTERSECT_H #define PCB_INTERSECT_H -#include "global_objs.h" +#include "global_typedefs.h" double ComputeIntersectionArea(BoxListTypePtr boxlist); /* will sort boxlist */ double ComputeUnionArea(BoxListTypePtr boxlist);