[sr-dev] git:master:74dd23ad: tls: remove core stats.h #include, add necessary system #include for open(..)