Skip to content

Commit ee26f25

Browse files
committed
Fix includes for pollq_poll.h
1 parent ba597f4 commit ee26f25

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/platform/posix/posix_pollq_poll.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright 2024 Staysail Systems, Inc. <[email protected]>
2+
// Copyright 2025 Staysail Systems, Inc. <[email protected]>
33
// Copyright 2018 Capitar IT Group BV <[email protected]>
44
//
55
// This software is supplied under the terms of the MIT License, a
@@ -11,8 +11,14 @@
1111
#ifndef PLATFORM_POSIX_POLLQ_POLL_H
1212
#define PLATFORM_POSIX_POLLQ_POLL_H
1313

14+
typedef struct nni_posix_pfd nni_posix_pfd;
15+
typedef void (*nni_posix_pfd_cb)(void *, unsigned);
16+
1417
#include <poll.h>
1518

19+
#include "../../core/list.h"
20+
#include "../../core/platform.h"
21+
1622
// nni_posix_pfd is the handle used by the poller. It's internals are private
1723
// to the poller.
1824
struct nni_posix_pfd {

0 commit comments

Comments
 (0)