Fixed typedef of scr_t (removed multiple definitions).  Works with older gcc compilers now.