aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_pollq_poll.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-26 11:27:05 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-27 07:13:39 -0700
commit11c53f3d7f747d14fd69ce98c63d629bc821ef68 (patch)
tree4ede2a231171ae098e0a296d09f1e2be44e3cc2f /src/platform/posix/posix_pollq_poll.h
parent72b96ad6925634e1b4efa775ffbed436b0a29abd (diff)
downloadnng-11c53f3d7f747d14fd69ce98c63d629bc821ef68.tar.gz
nng-11c53f3d7f747d14fd69ce98c63d629bc821ef68.tar.bz2
nng-11c53f3d7f747d14fd69ce98c63d629bc821ef68.zip
Remove unnecesary includes from pollq.h
Diffstat (limited to 'src/platform/posix/posix_pollq_poll.h')
-rw-r--r--src/platform/posix/posix_pollq_poll.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/platform/posix/posix_pollq_poll.h b/src/platform/posix/posix_pollq_poll.h
index b96d2451..b100c3af 100644
--- a/src/platform/posix/posix_pollq_poll.h
+++ b/src/platform/posix/posix_pollq_poll.h
@@ -1,5 +1,5 @@
//
-// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -11,8 +11,14 @@
#ifndef PLATFORM_POSIX_POLLQ_POLL_H
#define PLATFORM_POSIX_POLLQ_POLL_H
+typedef struct nni_posix_pfd nni_posix_pfd;
+typedef void (*nni_posix_pfd_cb)(void *, unsigned);
+
#include <poll.h>
+#include "../../core/list.h"
+#include "../../core/platform.h"
+
// nni_posix_pfd is the handle used by the poller. It's internals are private
// to the poller.
struct nni_posix_pfd {