Fix unconditional use of non-standard glibc specific functions.
Fix unconditional use of non-standard glibc specific functions.

[SVN r62194]

nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme