aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_pollq_poll.h
diff options
context:
space:
mode:
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 {