summaryrefslogtreecommitdiffhomepage
path: root/rwcancel
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-21 17:27:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-21 18:48:48 +0200
commitff3f2455e5cd74bd45c2f124a1d275462e33a4a0 (patch)
treec201e712664d808f8b166f9ac74f78dbfbcbb76a /rwcancel
parentb962d7d791bb13830d62d7ae326780b413463971 (diff)
Rework freebsd support
Diffstat (limited to 'rwcancel')
-rw-r--r--rwcancel/select_default.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rwcancel/select_default.go b/rwcancel/select_default.go
index 302a618..d37a536 100644
--- a/rwcancel/select_default.go
+++ b/rwcancel/select_default.go
@@ -1,10 +1,10 @@
+// +build !linux
+
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
-// +build !linux
-
package rwcancel
import "golang.org/x/sys/unix"