In case this happens to anyone, I declared the struct in a different file and added that header. Weird, but worked.