Felix Janda : server: Add missing includes of poll.h.

Alexandre Julliard julliard at winehq.org
Thu Jun 12 15:51:42 CDT 2014


Module: wine
Branch: master
Commit: e3faab267ca5f2ff78d42b20e5fce7e8b0681163
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e3faab267ca5f2ff78d42b20e5fce7e8b0681163

Author: Felix Janda <felix.janda at posteo.de>
Date:   Sun Jun  1 11:00:29 2014 +0200

server: Add missing includes of poll.h.

---

 server/change.c |    3 +++
 server/queue.c  |    3 +++
 server/sock.c   |    3 +++
 3 files changed, 9 insertions(+)

diff --git a/server/change.c b/server/change.c
index f6d56b0..3ac70a4 100644
--- a/server/change.c
+++ b/server/change.c
@@ -32,6 +32,9 @@
 #include <limits.h>
 #include <dirent.h>
 #include <errno.h>
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#endif
 
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
diff --git a/server/queue.c b/server/queue.c
index 57603e1..601629e 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -25,6 +25,9 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#endif
 
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
diff --git a/server/sock.c b/server/sock.c
index 5ffb1fe..4adad0f 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -30,6 +30,9 @@
 #include <string.h>
 #include <stdlib.h>
 #include <errno.h>
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#endif
 #include <sys/time.h>
 #include <sys/types.h>
 #ifdef HAVE_SYS_SOCKET_H




More information about the wine-cvs mailing list