It looks like diff.h/diff.cpp is full of depreciated files, that haven't been around since version 12 of the HDK. It's too the point that GEO_PolyInterface only gets mentioned once on the forums:
https://www.sidefx.com/forum/topic/53642/
Or are there restrictions (ie, missing/restricted files) to the "apprentice"-installed version of the HDK?