From 4198e58824a73e58caba891994ce19e1cae7e503 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 16 Jan 2018 06:41:23 +0100 Subject: vm/vmimpl: unbreak freebsd build Also add freebsd/netbsd host build to presubmit. --- vm/vmimpl/console_freebsd.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vm/vmimpl/console_freebsd.go (limited to 'vm/vmimpl') diff --git a/vm/vmimpl/console_freebsd.go b/vm/vmimpl/console_freebsd.go new file mode 100644 index 000000000..1bc79c439 --- /dev/null +++ b/vm/vmimpl/console_freebsd.go @@ -0,0 +1,12 @@ +// Copyright 2018 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. + +package vmimpl + +// Merely to fix build. +const ( + unix_CBAUD = 0 + unix_CRTSCTS = 0 + syscall_TCGETS = 0 + syscall_TCSETS = 0 +) -- cgit mrf-deployment