From: Shengjing Zhu <zhsj@debian.org>
Date: Wed, 11 Jan 2023 18:19:35 +0800
Subject: Compatibility with golang-github-pierrec-lz4 2.5.2

---
 lib/protocol/protocol.go      | 2 +-
 lib/protocol/protocol_test.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/protocol/protocol.go b/lib/protocol/protocol.go
index 61ff3a3..49d8389 100644
--- a/lib/protocol/protocol.go
+++ b/lib/protocol/protocol.go
@@ -23,7 +23,7 @@ import (
 	"sync"
 	"time"
 
-	lz4 "github.com/pierrec/lz4/v4"
+	lz4 "github.com/pierrec/lz4"
 	"github.com/pkg/errors"
 )
 
diff --git a/lib/protocol/protocol_test.go b/lib/protocol/protocol_test.go
index 54e3ec7..f2e06b5 100644
--- a/lib/protocol/protocol_test.go
+++ b/lib/protocol/protocol_test.go
@@ -17,7 +17,7 @@ import (
 	"testing/quick"
 	"time"
 
-	lz4 "github.com/pierrec/lz4/v4"
+	lz4 "github.com/pierrec/lz4"
 	"github.com/syncthing/syncthing/lib/rand"
 	"github.com/syncthing/syncthing/lib/testutils"
 )
