diff --git a/lib/posix/posix_nintendoswitch.nim b/lib/posix/posix_nintendoswitch.nim index 892ea33701..ae0f2dcdf9 100644 --- a/lib/posix/posix_nintendoswitch.nim +++ b/lib/posix/posix_nintendoswitch.nim @@ -17,7 +17,7 @@ type DIR* {.importc: "DIR", header: "", incompleteStruct.} = object -const SIG_HOLD* = cast[SigHandler](2) +const SIG_HOLD* = cast[Sighandler](2) type SocketHandle* = distinct cint # The type used to represent socket descriptors @@ -218,7 +218,7 @@ type st_blocks*: Blkcnt ## Number of blocks allocated for this object. reserved: array[2, clong] - + Statvfs* {.importc: "struct statvfs", header: "", final, pure.} = object ## struct statvfs