From 12a3a8c73bc4ce2bd27d74734af17fc559f435e0 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 3 Sep 2023 13:08:13 +0100 Subject: [PATCH] Fix build tags for `setupFD` --- src/tun/tun_linux.go | 4 ++-- src/tun/tun_other.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tun/tun_linux.go b/src/tun/tun_linux.go index 16deb8e5..d87552b7 100644 --- a/src/tun/tun_linux.go +++ b/src/tun/tun_linux.go @@ -1,5 +1,5 @@ -//go:build !mobile -// +build !mobile +//go:build linux || android +// +build linux android package tun diff --git a/src/tun/tun_other.go b/src/tun/tun_other.go index dd33708e..075ccfe1 100644 --- a/src/tun/tun_other.go +++ b/src/tun/tun_other.go @@ -1,5 +1,5 @@ -//go:build !linux && !darwin && !windows && !openbsd && !freebsd && !mobile -// +build !linux,!darwin,!windows,!openbsd,!freebsd,!mobile +//go:build !linux && !darwin && !ios && !android && !windows && !openbsd && !freebsd && !mobile +// +build !linux,!darwin,!ios,!android,!windows,!openbsd,!freebsd,!mobile package tun