Index: obj_padstack_list.h =================================================================== --- obj_padstack_list.h (revision 12219) +++ obj_padstack_list.h (revision 12220) @@ -23,6 +23,7 @@ #ifndef PCB_OBJ_PADSTACK_LIST_H #define PCB_OBJ_PADSTACK_LIST_H +#define PCB_PADSTACK_STRUCT_ONLY #include "obj_padstack.h" @@ -41,4 +42,6 @@ #include #include +#undef PCB_PADSTACK_STRUCT_ONLY + #endif