Fix #include
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 20 Jan 2008 11:01:07 +0000 (11:01 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 20 Jan 2008 11:01:07 +0000 (11:01 +0000)
modules/access/mms/mmstu.c
modules/control/netsync.c
modules/control/telnet.c

index e2f1dc6..ce21dff 100644 (file)
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
+#ifdef HAVE_POLL_H
+#   include <poll.h>
+#endif
 
 #include <vlc_network.h>
-#include <poll.h>
 #include "vlc_url.h"
 #include "asf.h"
 #include "buffer.h"
index 11ddf77..da6b404 100644 (file)
@@ -38,6 +38,9 @@
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h>
 #endif
+#ifdef HAVE_POLL_H
+#   include <poll.h>
+#endif
 
 #include <vlc_network.h>
 
index 363b11b..6f1c2dc 100644 (file)
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
+#ifdef HAVE_POLL_H
+#   include <poll.h>
+#endif
 
 #include <vlc_network.h>
-#include <poll.h>
 #include <vlc_url.h>
 #include <vlc_vlm.h>