[vlc-devel] commit: Include fix for Win32 (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Mar 12 02:29:25 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 11 17:50:18 2008 -0700| [fe79260ae8261e9ec68084820b53d97567b07791]

Include fix for Win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe79260ae8261e9ec68084820b53d97567b07791
---

 modules/access_filter/timeshift.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/access_filter/timeshift.c b/modules/access_filter/timeshift.c
index c241a24..13511dc 100644
--- a/modules/access_filter/timeshift.c
+++ b/modules/access_filter/timeshift.c
@@ -31,7 +31,6 @@
 
 #include <vlc/vlc.h>
 
-
 #include <errno.h>
 
 #include <vlc_access.h>
@@ -40,6 +39,10 @@
 
 #include <unistd.h>
 
+#ifdef WIN32
+#  include <direct.h>                                        /* _wgetcwd  */
+#endif
+
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/




More information about the vlc-devel mailing list