Revert: resource_type_t moved back to freeserf.h