vlc | branch: master | Felix Abecassis <[email protected]> | Fri Nov 29 17:43:11 2013 +0100| [4277191131b14a59f0602eb794c80d5b909b14f5] | committer: Jean-Baptiste Kempf
Add missing include in order to provide a declaration of _pipe under MSVC. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4277191131b14a59f0602eb794c80d5b909b14f5 --- src/win32/filesystem.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win32/filesystem.c b/src/win32/filesystem.c index a82bb73..886a158 100644 --- a/src/win32/filesystem.c +++ b/src/win32/filesystem.c @@ -44,6 +44,11 @@ #include <vlc_fs.h> #include "libvlc.h" /* vlc_mkdir */ +#ifdef _MSC_VER +# define __STDC__ 1 +# include <io.h> /* _pipe */ +#endif + static wchar_t *widen_path (const char *path) { wchar_t *wpath; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
