aboutsummaryrefslogtreecommitdiff
path: root/src/internal/poll/sock_cloexec.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/poll/sock_cloexec.go')
-rw-r--r--src/internal/poll/sock_cloexec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/poll/sock_cloexec.go b/src/internal/poll/sock_cloexec.go
index ff7982ca9e..52191d85c6 100644
--- a/src/internal/poll/sock_cloexec.go
+++ b/src/internal/poll/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 poll