From c6b1584b5fdcbf0a7d5b0a00defcc2d1ce71e803 Mon Sep 17 00:00:00 2001
From: Alex X <alexey.khit@gmail.com>
Date: Thu, 13 Mar 2025 15:33:23 +0300
Subject: [PATCH 2/6] Fix support linux + riscv64 #1639

---
 internal/v4l2/v4l2.go       | 2 +-
 internal/v4l2/v4l2_linux.go | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

--- a/internal/v4l2/v4l2.go
+++ b/internal/v4l2/v4l2.go
@@ -1,4 +1,4 @@
-//go:build !linux
+//go:build !(linux && (386 || arm || mipsle || amd64 || arm64))
 
 package v4l2
 
--- a/internal/v4l2/v4l2_linux.go
+++ b/internal/v4l2/v4l2_linux.go
@@ -1,3 +1,5 @@
+//go:build linux && (386 || arm || mipsle || amd64 || arm64)
+
 package v4l2
 
 import (
