--- libs/locale/src/util/numeric.hpp.orig 2016-09-29 02:27:58.992435000 +0200 +++ libs/locale/src/util/numeric.hpp 2016-09-29 02:28:22.319905000 +0200 @@ -190,7 +190,7 @@ { std::string tz = ios_info::get(ios).time_zone(); std::tm tm; - #if defined(__linux) || defined(__FreeBSD__) || defined(__APPLE__) + #if defined(__linux) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__BSDSUniX__) std::vector tmp_buf(tz.c_str(),tz.c_str()+tz.size()+1); #endif if(tz.empty()) { @@ -211,7 +211,7 @@ gmtime_r(&time,&tm); #endif - #if defined(__linux) || defined(__FreeBSD__) || defined(__APPLE__) + #if defined(__linux) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__BSDSUniX__) // These have extra fields to specify timezone if(gmtoff!=0) { // bsd and apple want tm_zone be non-const