aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorHarold Brenes <harold@hbrenes.com>2025-12-20 16:55:06 -0500
committerHarold Brenes <harold@hbrenes.com>2025-12-20 16:55:06 -0500
commiteda6e64639fcbbc0849a413d9cc22f7d8d9107f9 (patch)
treeed7ee4d2092e6cce66f37d7c9117da6520d999bb /core
parent7640a0511fc7baf8bc3f375a90b3d30616c703f0 (diff)
Fix nfds_t alias for Linux
Diffstat (limited to 'core')
-rw-r--r--core/sys/posix/poll.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/posix/poll.odin b/core/sys/posix/poll.odin
index a9e582b51..bb400c5a9 100644
--- a/core/sys/posix/poll.odin
+++ b/core/sys/posix/poll.odin
@@ -25,7 +25,7 @@ foreign lib {
poll :: proc(fds: [^]pollfd, nfds: nfds_t, timeout: c.int) -> c.int ---
}
-when ODIN_OS == .Haiku {
+when ODIN_OS == .Haiku || ODIN_OS == .Linux {
nfds_t :: c.ulong
} else {
nfds_t :: c.uint