Index: trunk/tests/librnd/librnd_test.c =================================================================== --- trunk/tests/librnd/librnd_test.c (revision 27531) +++ trunk/tests/librnd/librnd_test.c (revision 27532) @@ -6,6 +6,7 @@ #include "compat_misc.h" #include "plugins.h" #include "hidlib.h" +#include "polyarea.h" /*** hidlib glue ***/ @@ -85,7 +86,7 @@ static void poly_test() { - pcb_polyarea_t *pa; + pcb_polyarea_t pa; pcb_polyarea_init(&pa); pcb_poly_valid(&pa); }