aboutsummaryrefslogtreecommitdiff
path: root/src/net/sock_cloexec.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sock_cloexec.go')
-rw-r--r--src/net/sock_cloexec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/sock_cloexec.go b/src/net/sock_cloexec.go
index 5f345f0f4a..efc91fdb53 100644
--- a/src/net/sock_cloexec.go
+++ b/src/net/sock_cloexec.go
@@ -5,6 +5,7 @@
// This file implements sysSocket and accept for platforms that
// provide a fast path for setting SetNonblock and CloseOnExec.
+//go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd
// +build dragonfly freebsd illumos linux netbsd openbsd
package net