Remove useless <fcntl.h> and <sys/time.h> inclusions
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:42:39 +0000 (19:42 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:45:12 +0000 (19:45 +0200)
modules/control/netsync.c
modules/control/rc.c
modules/services_discovery/podcast.c
modules/services_discovery/sap.c
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_core.c
src/control/mediacontrol_util.c
src/extras/libc.c
src/input/vlmshell.c
src/network/io.c
src/network/udp.c

index b834914..5652d0e 100644 (file)
@@ -37,9 +37,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h>
 #endif
index e9f9005..6b5da0b 100644 (file)
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #include <sys/types.h>
 
 #include <vlc_network.h>
index 19c4a67..07afe5b 100644 (file)
@@ -40,9 +40,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 
 /************************************************************************
  * Macros and definitions
index 8da5f43..4cd31ec 100644 (file)
@@ -43,9 +43,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_POLL
 # include <poll.h>
 #endif
index 8f6602d..cc3ac9c 100644 (file)
@@ -44,9 +44,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
index 7090194..7d73a60 100644 (file)
@@ -46,9 +46,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
index 3dcfd43..7b4ac52 100644 (file)
@@ -40,9 +40,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
index f262b7d..5a69137 100644 (file)
@@ -46,7 +46,6 @@
 
 #ifdef HAVE_FORK
 #   include <signal.h>
-#   include <sys/time.h>
 #   include <unistd.h>
 #   include <errno.h>
 #   include <sys/wait.h>
index 58fe8aa..284a340 100644 (file)
 
 #ifdef ENABLE_VLM
 
-#ifndef WIN32
-#   include <sys/time.h>                                   /* gettimeofday() */
-#endif
-
 #include <time.h>                                                 /* ctime() */
 
 #include <vlc_input.h>
index ef07124..554b234 100644 (file)
@@ -44,9 +44,6 @@
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
index 225eb19..d00b09e 100644 (file)
 
 #include <errno.h>
 
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
-
 #include <vlc_network.h>
 
 #ifdef WIN32