Skip to content

Commit

Permalink
Add conditional compilation for syscall because build breaks on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepankar Sharma committed Feb 24, 2023
1 parent 0f4effe commit a43132b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/platform.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// +build linux darwin freebsd openbsd netbsd solaris

package lxdapi


import (
"io/fs"
"syscall"
Expand Down

0 comments on commit a43132b

Please sign in to comment.