Use POSIX path for poll.h and fcntl.h headers
[fio.git] / os / windows / posix / include / poll.h
index 058e23adee645b42ec15e56616bf953d027aaf6d..f064e2ba4bf1afb4ce99c012e83ada864b6fef30 100644 (file)
@@ -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 */