aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/osutil
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-10-23 10:10:05 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-10-23 10:10:05 +0200
commite729550825d5175e9b1574da8d6c90ae52782a74 (patch)
tree1c8ccc1e4a58268fe6d59a150d7124631f968ab1 /pkg/osutil
parent632b86c938a94237bde5ec0b45df7258bf95ba8f (diff)
all: basic building on netbsd
This just makes make TARGETOS=netbsd succeed. We don't yet have prog target for netbsd.
Diffstat (limited to 'pkg/osutil')
-rw-r--r--pkg/osutil/osutil_bsd.go (renamed from pkg/osutil/osutil_freebsd.go)2
-rw-r--r--pkg/osutil/osutil_unix.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/pkg/osutil/osutil_freebsd.go b/pkg/osutil/osutil_bsd.go
index aedbfd09d..652a00a31 100644
--- a/pkg/osutil/osutil_freebsd.go
+++ b/pkg/osutil/osutil_bsd.go
@@ -1,6 +1,8 @@
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+// +build freebsd netbsd
+
package osutil
import (
diff --git a/pkg/osutil/osutil_unix.go b/pkg/osutil/osutil_unix.go
index 2f6a9f327..92c85d4c6 100644
--- a/pkg/osutil/osutil_unix.go
+++ b/pkg/osutil/osutil_unix.go
@@ -1,7 +1,7 @@
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-// +build freebsd,!appengine linux,!appengine darwin,!appengine
+// +build freebsd,!appengine netbsd,!appengine linux,!appengine darwin,!appengine
package osutil