portability: add support for Illumos
This still won't work on older Solaris systems, but modern Illumos at least should build and run now.
This commit is contained in:
This still won't work on older Solaris systems, but modern Illumos at least should build and run now.