diff --git a/serial_linux.go b/serial_linux.go index adf18c6..beaf642 100644 --- a/serial_linux.go +++ b/serial_linux.go @@ -1,4 +1,4 @@ -// +build linux,!cgo +// +build linux package serial diff --git a/serial_posix.go b/serial_posix.go index 3e8bc7c..a05d6d1 100644 --- a/serial_posix.go +++ b/serial_posix.go @@ -1,4 +1,4 @@ -// +build !windows,cgo +// +build !windows,!linux,cgo package serial