Plugin is missing includes and return values
Created attachment 2694 patch
Applied a variation of this patch: changed the return type to void instead of adding return values. They are not used anyway.