vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Nov 23 
18:49:49 2019 +0200| [c68d5619a76e349d3c3d57ee68dbc76608380531] | committer: 
Rémi Denis-Courmont

xcb/apps: fix #includes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c68d5619a76e349d3c3d57ee68dbc76608380531
---

 modules/services_discovery/xcb_apps.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/services_discovery/xcb_apps.c 
b/modules/services_discovery/xcb_apps.c
index 594f6850ea..e2742f660e 100644
--- a/modules/services_discovery/xcb_apps.c
+++ b/modules/services_discovery/xcb_apps.c
@@ -35,7 +35,12 @@ typedef xcb_atom_t Atom;
 #ifdef HAVE_SEARCH_H
 # include <search.h>
 #endif
-#include <poll.h>
+#ifdef HAVE_POLL
+# include <poll.h>
+#endif
+#ifdef _WIN32
+# include <winsock2.h>
+#endif
 
 static int  Open (vlc_object_t *);
 static void Close (vlc_object_t *);

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to