From 72b96ad6925634e1b4efa775ffbed436b0a29abd Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 26 Oct 2025 10:02:33 -0700 Subject: NNG_OPT_BOUND_PORT replaces NNG_OPT_TCP/UDP_BOUND_PORT. This is easier and agnostic about the underlying L3 protocol. We plan to remove direct NNG_OPT_LOCADDR support from listeners (and probably both NNG_OPT_LOCADDR and NNG_OPT_REMADDR have numbered days left in their lifetime. They will be replaced with more direct typed access functions as has been done for pipes already.) While here fixed some include for IWYU in the POSIX platform. --- src/platform/posix/posix_pollq_kqueue.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/platform/posix/posix_pollq_kqueue.h') diff --git a/src/platform/posix/posix_pollq_kqueue.h b/src/platform/posix/posix_pollq_kqueue.h index 69cf6dae..3959b5e6 100644 --- a/src/platform/posix/posix_pollq_kqueue.h +++ b/src/platform/posix/posix_pollq_kqueue.h @@ -11,6 +11,13 @@ #ifndef PLATFORM_POSIX_POLLQ_KQUEUE_H #define PLATFORM_POSIX_POLLQ_KQUEUE_H +#include "../../core/defs.h" +#include "../../core/list.h" +#include "../../core/platform.h" + +typedef struct nni_posix_pfd nni_posix_pfd; +typedef void (*nni_posix_pfd_cb)(void *, unsigned); + // nni_posix_pfd is the handle used by the poller. It's internals are private // to the poller. struct nni_posix_pfd { -- cgit v1.2.3-70-g09d2