#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <dirent.h>
DIR *fdopendir (int fd)
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# include <fcntl.h>
-#elif defined( _WIN32 )
-# include <io.h>
-#endif
+#include <unistd.h>
+#include <fcntl.h>
#include <vlc_fs.h>
#include <vlc_url.h>
#include <errno.h>
#include <sys/types.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#elif defined( _WIN32 )
-# include <io.h>
-#endif
-
+#include <unistd.h>
#include <sys/poll.h>
#include <libraw1394/raw1394.h>
#endif
#include <assert.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "../demux/ps.h"
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
#include <sys/types.h>
+#include <unistd.h>
#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
#include <errno.h>
#include <assert.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <sys/types.h>
+#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
# define INCL_DOSDEVIOCTL
#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <sys/types.h>
+#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_ARPA_INET_H
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#elif defined( _WIN32 )
-# include <io.h>
-#endif
+#include <unistd.h>
#include <ctype.h>
#include <time.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <sys/types.h>
+#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <vlc_sout.h>
#include <vlc_block.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
#include <math.h> /* sqrt */
#include <stdint.h> /* int16_t .. */
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_block.h>
#include <vlc_codec.h>
#include <vlc_dialog.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#ifdef _POSIX_VERSION
# include <glob.h>
#endif
#include <vlc_input.h>
#include <vlc_playlist.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <sys/types.h>
+#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
#include <vlc_playlist.h>
#include <vlc_keys.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <sys/types.h>
+#include <unistd.h>
#include <vlc_network.h>
#include <vlc_url.h>
#include <fcntl.h>
#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <vlc_common.h>
#include <vlc_fs.h>
#include "os_factory.hpp"
#include "../commands/async_queue.hpp"
#include "../commands/cmd_dialogs.hpp"
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#elif defined( _WIN32 )
-# include <direct.h>
-#endif
+#include <unistd.h>
#include <fstream>
#include <vlc_services_discovery.h>
#include <vlc_playlist.h>
#include <vlc_network.h>
-#include <assert.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <assert.h>
+#include <unistd.h>
/************************************************************************
* Macros and definitions
#include <vlc_charset.h>
#include <errno.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#include "rtp.h"
-#ifdef HAVE_UNISTD_H
-# include <sys/types.h>
-# include <unistd.h>
-#endif
+#include <sys/types.h>
+#include <unistd.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
if( p_sys->psz_sdp_file != NULL )
{
-#ifdef HAVE_UNISTD_H
unlink( p_sys->psz_sdp_file );
-#endif
free( p_sys->psz_sdp_file );
}
free( p_sys->psz_vod_session );
#include <vlc_filter.h>
#include <sys/types.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#elif defined( _WIN32 )
-# include <io.h>
-#endif
+#include <unistd.h>
#include <glib.h>
#include <glib/gstdio.h>
#elif defined(HAVE_USELOCALE)
#include <locale.h>
#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <vlc_common.h>
#include "../libvlc.h"
# include <direct.h>
#endif
#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <vlc_common.h>
#include <vlc_fs.h>
#endif
#include <ctype.h> /* isalnum() */
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <sys/stat.h>
#include <vlc_common.h>
#endif
#include <assert.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <vlc_common.h>
#include <vlc_modules.h>
#include <sys/stat.h>
#include <assert.h>
#include <errno.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <fcntl.h>
#include <vlc_common.h>
#include <vlc_common.h>
#include <assert.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if !defined (_POSIX_TIMERS) || defined (_WIN32)
# define _POSIX_TIMERS (-1)
#endif
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <assert.h>
#include <vlc_common.h>
#include <string.h>
#include <errno.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#include <assert.h>
#include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
#include <errno.h>
#include <assert.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
#include <errno.h>
#include <sys/types.h>
#include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
/**
* Opens a FILE pointer.