fix: use correct ENODATA value on different platforms

This commit is contained in:
ds.hiveon
2023-03-18 07:44:18 +01:00
parent e9e967f085
commit 9fe17650b8
7 changed files with 22 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
//go:build !linux
package squashfs
import (
"golang.org/x/sys/unix"
)
var ENODATA = unix.Errno(unix.ENODATA)