Index: tool.c =================================================================== --- tool.c (revision 29336) +++ tool.c (revision 29337) @@ -35,10 +35,8 @@ #include #include -#include "conf_core.h" -#include "crosshair.h" +#define PCB_MAX_MODESTACK_DEPTH 16 /* maximum depth of mode stack */ - vtp0_t pcb_tools; pcb_toolid_t pcb_tool_prev_id; @@ -267,6 +265,8 @@ /**** tool helper functions ****/ #include "board.h" +#include "conf_core.h" +#include "crosshair.h" #include "data.h" #include "draw.h"