Commit 3d5dcf8b authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Include missing unistd.h and time.h for OS/2

Modified-by: default avatarRémi Denis-Courmont <remi@remlab.net>
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent dbc8ad47
......@@ -59,8 +59,6 @@
# include <ctype.h>
# include <shlwapi.h>
# include <vlc_charset.h>
#elif defined( __OS2__ )
# include <ctype.h>
#else
# include <unistd.h>
#endif
......
......@@ -33,6 +33,9 @@
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
......
......@@ -31,6 +31,7 @@
#endif
#include <math.h>
#include <unistd.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
......
......@@ -36,6 +36,8 @@
# include "config.h"
#endif
#include <time.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
......
......@@ -43,6 +43,7 @@
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <time.h>
#ifndef WIN32
# include <locale.h>
......
......@@ -39,6 +39,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include "dynamicoverlay.h"
......
......@@ -35,6 +35,9 @@
#elif defined(HAVE_USELOCALE)
#include <locale.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <vlc_common.h>
#include "../libvlc.h"
......
......@@ -37,6 +37,9 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <vlc_common.h>
#include <vlc_fs.h>
......
......@@ -25,6 +25,7 @@
# include "config.h"
#endif
#include <assert.h>
#include <time.h>
#include <vlc_common.h>
#include <vlc_url.h>
......
......@@ -38,6 +38,10 @@
#endif
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <vlc_common.h>
#include <vlc_modules.h>
#include <vlc_interface.h>
......
......@@ -32,6 +32,10 @@
#include <sys/stat.h>
#include <assert.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "vlc_block.h"
/**
......
......@@ -55,6 +55,7 @@
#ifdef __OS2__
# include <sys/socket.h>
# include <netinet/in.h>
# include <unistd.h> // close(), write()
#elif defined(WIN32)
# include <io.h>
# include <winsock2.h>
......
......@@ -38,6 +38,9 @@
#include <errno.h>
#include <sys/types.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
/**
* Opens a FILE pointer.
......
......@@ -24,6 +24,8 @@
# include "config.h"
#endif
#include <time.h>
#include <vlc_common.h>
#include <vlc_vout.h>
#include <vlc_vout_osd.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment