Log Message: For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__, see <https://gist.github.com/jperkin/b08f9108daf8d0ac695067d71f882a9d>