//go:build !linux && !freebsd
// +build !linux,!freebsd

package docker

import (
	"errors"
	"net"
)

func newUnixListener(path string, gid int) (net.Listener, string, error) {
	return nil, "", errors.New("unix sockets require Linux or FreeBSD")
}