From 91d2be079c5ac1635b70b8740624bf83b99d5f7e Mon Sep 17 00:00:00 2001
From: premysl
Date: Sat, 30 Jan 2016 18:29:33 +0100
Subject: [PATCH] Fix OpenBSD build
---
const_darwin.go => const_darwin_openbsd.go | 2 +-
const_win_unix.go | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
rename const_darwin.go => const_darwin_openbsd.go (96%)
diff --git a/const_darwin.go b/const_darwin_openbsd.go
similarity index 96%
rename from const_darwin.go
rename to const_darwin_openbsd.go
index 19c169a..b356a8d 100644
--- a/const_darwin.go
+++ b/const_darwin_openbsd.go
@@ -10,7 +10,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-// +build darwin
+// +build darwin openbsd
package afero
diff --git a/const_win_unix.go b/const_win_unix.go
index 3d246ef..72d6aaf 100644
--- a/const_win_unix.go
+++ b/const_win_unix.go
@@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !darwin
+// +build !openbsd
package afero