[vlc-devel] [PATCH 10/12] Add missing include in order to provide a declaration of _pipe under MSVC.

Felix Abecassis felix.abecassis at gmail.com
Fri Nov 29 17:43:11 CET 2013


---
 src/win32/filesystem.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

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;
-- 
1.7.9




More information about the vlc-devel mailing list