]> git.sesse.net Git - vlc/commitdiff
Add missing include in order to provide a declaration of _pipe under MSVC.
authorFelix Abecassis <felix.abecassis@gmail.com>
Fri, 29 Nov 2013 16:43:11 +0000 (17:43 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 30 Nov 2013 20:16:46 +0000 (21:16 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/win32/filesystem.c

index a82bb73ac0ed9c54342b59f2f07bc70479bd389f..886a158841604236a5c629cad9e5403b9e539b0e 100644 (file)
 #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;