"Undeclared identifier" errors after moving to 4.4

Btw, if you have problems fixing this with moving headers to cpp, try forward declaration…