TermPrim/TermPrimDebug.h references FILE without including the required header file. I am not sure why this hasn't shown up before.