[PATCH OLK-5.10] fix structure type undeclared error in topology.c