Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.

4 files changed