]> git.sesse.net Git - vlc/commitdiff
Remove sys/types.h check
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Jan 2010 12:13:50 +0000 (14:13 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Jan 2010 12:13:50 +0000 (14:13 +0200)
We assume it is present in plenty of places anyway

21 files changed:
configure.ac
modules/access/directory.c
modules/access/dv.c
modules/access/dvdnav.c
modules/access/file.c
modules/access/mms/mmstu.c
modules/access/mtp.c
modules/access/vcd/cdrom.c
modules/control/netsync.c
modules/demux/mp4/drms.c
modules/demux/subtitle.c
modules/demux/subtitle_asa.c
modules/misc/dummy/decoder.c
modules/misc/svg.c
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_core.c
src/control/mediacontrol_util.c
src/modules/cache.c
src/modules/modules.c
src/modules/os.c
src/network/getaddrinfo.c

index 618d6f08deac879171c9fabef9414bb1882f4045..e9f5679fe3cba49d70fcb7b7f0a0dbe8e88d33a2 100644 (file)
@@ -842,7 +842,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
 
 dnl Check for headers
 AC_CHECK_HEADERS(getopt.h strings.h locale.h xlocale.h)
-AC_CHECK_HEADERS(fcntl.h sys/types.h sys/time.h sys/ioctl.h sys/stat.h sys/mount.h)
+AC_CHECK_HEADERS(fcntl.h sys/time.h sys/ioctl.h sys/stat.h sys/mount.h)
 AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
 AC_CHECK_HEADERS([net/if.h], [], [],
   [
index feb655e259f4dc83ff095599922f6c6c52ab8856..2e1d75a6453b1211e9f826d0568effbd82efd588 100644 (file)
@@ -34,9 +34,7 @@
 #include "fs.h"
 #include <vlc_access.h>
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
index e75e87d6b2abfd4ba6af5097f1f184d884e4929d..16d28af49d72a11929d00da5e646ad3414a64d30 100644 (file)
@@ -33,9 +33,7 @@
 #include <vlc_access.h>
 
 #include <errno.h>
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #elif defined( WIN32 ) && !defined( UNDER_CE )
index d157893d13b13ef012cd22040d221326da8b9316..3fb79f246a0de00a29721ec1b77f50de8edaaa9b 100644 (file)
@@ -42,9 +42,7 @@
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
index 74d0639fb96344f310a906fb8ff6235b15b4e5e5..de42c39d0dfdaee937f4d7ac473e9b1cfaf69d36 100644 (file)
@@ -35,9 +35,7 @@
 
 #include <assert.h>
 #include <errno.h>
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
index 065d5b3cbc4679f4b0c865de53710cfc1363bdde..e2bc5f039d69d6e7ad5723a02dff8b86c16d477b 100644 (file)
@@ -38,9 +38,7 @@
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_POLL
 #   include <poll.h>
 #endif
index 91cd8848ce56fa0a1894c95b9eb3224fa3fc07da..9e35be8e2c54a111a954a376972a167a67b6cbdf 100644 (file)
@@ -38,9 +38,7 @@
 
 #include <assert.h>
 #include <errno.h>
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
index 78246ea0aff917c22a4d87f93f1b41b9934eea29..765f6c561b5bd5f906f755898fd222bd415c60b4 100644 (file)
@@ -39,9 +39,7 @@
 #   include <unistd.h>
 #endif
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
index 5652d0e15a3c32975a8dcca2540bf14c4597a591..118255e3c71f2dcf8a14af876aff4fc04bd04c1d 100644 (file)
@@ -37,9 +37,7 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_POLL
 #   include <poll.h>
 #endif
index 4f784155890e9e3183d9c0921191d64dfcf6e7de..3050e19eeddfbfe23e86cef15eebc3f18740cc9c 100644 (file)
@@ -51,9 +51,7 @@
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 /* In Solaris (and perhaps others) PATH_MAX is in limits.h. */
 #include <limits.h>
index ce9701236600bf2af67f7aecd2f03ed605279c26..d46110675b4a35ff9397069fc87de2b9f880a5d0 100644 (file)
@@ -36,9 +36,6 @@
 #include <vlc_input.h>
 #include <vlc_memory.h>
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
 #include <ctype.h>
 
 #include <vlc_demux.h>
index c634c513194716a10491c15637c60c4e2edefc69..3a6716c2b6c2c8e4fdbc2bb72051ae7c57739b7f 100644 (file)
 #include <vlc_input.h>
 #include <vlc_memory.h>
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
-
 #include <vlc_demux.h>
 #include <vlc_charset.h>
 
index d4eb09f151d01da65930f27aec8c9c5e9d30d7da..d63df18b39274f6a980ec07669bbdef903cef724 100644 (file)
 #include <vlc_codec.h>
 #include <vlc_charset.h>
 
+#include <sys/types.h>
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h> /* write(), close() */
 #elif defined( WIN32 ) && !defined( UNDER_CE )
 #   include <io.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h> /* open() */
-#endif
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
index 2f3ee44f7484fa50bb5d822a6aa101bdf14b3ce7..a7380cbf4aa9df89e7480e543c2d82157e341c35 100644 (file)
@@ -37,9 +37,7 @@
 #include <vlc_block.h>
 #include <vlc_filter.h>
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
index cc3ac9cec05cedb5ee1ec05d5a872583f979679d..6efa684f06941d5423d3db3ec8360a6e28b0f26f 100644 (file)
@@ -44,9 +44,7 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#    include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 mediacontrol_RGBPicture *
 mediacontrol_snapshot( mediacontrol_Instance *self,
index 7d73a600607dc6eb2b366b60fc7240ce706268ef..e6af12fe734a25fa891f9e973dcd9956e1dfa47e 100644 (file)
@@ -46,9 +46,7 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#    include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 mediacontrol_Instance* mediacontrol_new( int argc, char** argv, mediacontrol_Exception *exception )
 {
index 7b4ac520c17f2832fddc6d94cb0d28670c8186cb..b34dfa38feb41df6fa3dfabf4fda37a9712b4929 100644 (file)
@@ -40,9 +40,7 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#    include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 libvlc_time_t private_mediacontrol_unit_convert( libvlc_media_player_t *p_media_player,
                                                  mediacontrol_PositionKey from,
index 1477f97e906cf9fea55f66f13258fcb6fa0f55fa..089f4aa842263e5f4751bcce5f70fadc97361c51 100644 (file)
@@ -37,9 +37,7 @@
 #include <vlc_plugin.h>
 #include <vlc_cpu.h>
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
index f2fd4179a18d0dc8f699ff607852de1683d020b3..a06c290624c353c823aa8635dfcec5ec2f683a1a 100644 (file)
@@ -42,9 +42,7 @@
 #   include <dirent.h>
 #endif
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
index 63df567bf1075a2cfc9acb1327cda46bb5906e64..cc33c513287710ab18d09cdfb225ae85f1b32dd7 100644 (file)
@@ -38,9 +38,7 @@
 #include <stdio.h>                                              /* sprintf() */
 #include <string.h>                                              /* strdup() */
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 #if !defined(HAVE_DYNAMIC_PLUGINS)
     /* no support for plugins */
index dcea956dc242ff19fe16df826374f1aaef65fa9a..7d56c2dccf386ce23e3f4a820d6e971453ee9ded 100644 (file)
@@ -35,9 +35,7 @@
 #include <errno.h>
 #include <assert.h>
 
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_ARPA_INET_H
 #   include <arpa/inet.h>
 #endif