SO_PEERCRED is Linux only

BSD does have LOCAL_PEERCRED but x/sys.unix does not yet have support for it.
I will add support and do a proper fix later.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Justin Cormack 2017-12-01 11:47:47 +00:00 committed by Stephen J Day
parent 961d4bc798
commit 511f780fca
No known key found for this signature in database
GPG Key ID: 67B3DED84EDC823F

View File

@ -1,5 +1,3 @@
// +build linux freebsd solaris
package ttrpc package ttrpc
import ( import (