debug scerrres.h dependencies