Add the minimal fix to restore being able to compile on Illumos.

This brings in the necessary fix to satisfy #2989 without dragging along
additional vendor updates reverted in #3019.
This commit is contained in:
Sean Chittenden 2017-05-09 01:24:30 -07:00
parent 785ff2796f
commit dce9da3bb3
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import (
"unsafe" "unsafe"
) )
// #cgo CFLAGS: -std=c99
// #cgo LDFLAGS: -lkstat // #cgo LDFLAGS: -lkstat
// #include <unistd.h> // #include <unistd.h>
// #include <stdlib.h> // #include <stdlib.h>