[SP] Actually including q_platform.h would have helped. Derp.