illumos: initial build fixes
Makes 'go build' work on illumos. Still needs a lot of implementation for 'go test' to pass.
Shuffles around some functions so they can be defined as illumos specific.
See also #26
Makes 'go build' work on illumos. Still needs a lot of implementation for 'go test' to pass.
Shuffles around some functions so they can be defined as illumos specific.
See also #26