Index: trunk/src/global_objs.h =================================================================== --- trunk/src/global_objs.h (revision 4568) +++ trunk/src/global_objs.h (revision 4569) @@ -81,12 +81,6 @@ ANYLINEFIELDS; } AnyLineObjectType, *AnyLineObjectTypePtr; -struct pcb_line_s { /* holds information about one line */ - ANYLINEFIELDS; - char *Number; - gdl_elem_t link; /* a line is in a list: either on a layer or in an element */ -}; - struct pcb_text_s { ANYOBJECTFIELDS; int Scale; /* text scaling in percent */ Index: trunk/src/obj_line.h =================================================================== --- trunk/src/obj_line.h (revision 4568) +++ trunk/src/obj_line.h (revision 4569) @@ -29,6 +29,14 @@ #ifndef PCB_OBJ_LINE_H #define PCB_OBJ_LINE_H +#include "global_objs.h" + +struct pcb_line_s { /* holds information about one line */ + ANYLINEFIELDS; + char *Number; + gdl_elem_t link; /* a line is in a list: either on a layer or in an element */ +}; + /* crosshair: */ typedef struct { /* current marked line */ PointType Point1, /* start- and end-position */ Index: trunk/src/obj_line_list.h =================================================================== --- trunk/src/obj_line_list.h (revision 4568) +++ trunk/src/obj_line_list.h (revision 4569) @@ -23,6 +23,8 @@ #ifndef PCB_OBJ_LINE_LIST_H #define PCB_OBJ_LINE_LIST_H +#include "obj_line.h" + /* List of Lines */ #define TDL(x) linelist_ ## x #define TDL_LIST_T linelist_t