fix windows build

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

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 {