fix windows build

This commit is contained in:
Alireza Ahmadi committed 2026-02-20 02:07:46 +01:00
1 parent 2b1d3e7347
commit 3ec5b3589f
4 files changed
+11 -2

No files matched your search

+3
View File
@@ -12,8 +12,11 @@ import (
"strconv"
"strings"
"sync"
"syscall"
)
var SIGUSR1 = syscall.SIGUSR1
func getLinesNum(filename string) (int, error) {
file, err := os.Open(filename)
if err != nil {