Rework freebsd support

This commit is contained in:
Jason A. Donenfeld
2018-05-21 17:27:18 +02:00
parent b962d7d791
commit ff3f2455e5
10 changed files with 182 additions and 353 deletions

View File

@@ -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"