From 2f24a1b1c93b8c45dce391ed0439131f9ad8cf28 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 11 Oct 2025 06:50:54 -0700 Subject: fix includes for core --- src/core/pollable.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/core/pollable.c') diff --git a/src/core/pollable.c b/src/core/pollable.c index d07c9b10..25e4cbb5 100644 --- a/src/core/pollable.c +++ b/src/core/pollable.c @@ -8,11 +8,13 @@ // found online at https://opensource.org/licenses/MIT. // -#include "core/nng_impl.h" +#include "pollable.h" +#include "defs.h" +#include "platform.h" // We pack the wfd and rfd into a uint64_t so that we can update the pair // atomically and use nni_atomic_cas64, to be lock free. -#define WFD(fds) ((int) ((fds) &0xffffffffu)) +#define WFD(fds) ((int) ((fds) & 0xffffffffu)) #define RFD(fds) ((int) (((fds) >> 32u) & 0xffffffffu)) #define FD_JOIN(wfd, rfd) ((uint64_t) (wfd) + ((uint64_t) (rfd) << 32u)) -- cgit v1.2.3-70-g09d2