windows: update EULA
[fio.git] / os / windows / posix / include / poll.h
index f5c47e78b2e487e8258355580cf11580773015df..f064e2ba4bf1afb4ce99c012e83ada864b6fef30 100644 (file)
@@ -1,4 +1,15 @@
-#ifndef POLL_H\r
-#define POLL_H\r
-\r
-#endif /* POLL_H */\r
+#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 */