[sr-dev] git:5.0:51f214f1: Add and fix #includes for more strict POSIX compliance