X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fwindows%2Fposix%2Finclude%2Fpoll.h;h=f064e2ba4bf1afb4ce99c012e83ada864b6fef30;hp=058e23adee645b42ec15e56616bf953d027aaf6d;hb=c1e38868c299c2b3baa0f5a9f038bb1c79c09308;hpb=35922a2138c5adc91a2b4b185b5d756900bde87d diff --git a/os/windows/posix/include/poll.h b/os/windows/posix/include/poll.h index 058e23ad..f064e2ba 100644 --- a/os/windows/posix/include/poll.h +++ b/os/windows/posix/include/poll.h @@ -1,4 +1,15 @@ #ifndef POLL_H #define POLL_H +typedef int nfds_t; + +struct pollfd +{ + int fd; + short events; + short revents; +}; + +int poll(struct pollfd fds[], nfds_t nfds, int timeout); + #endif /* POLL_H */