]> git.sesse.net Git - vlc/blobdiff - src/video_output/video_text.c
* Win2000 DVD input by Jon Lech Johansen <jon-vl@nanocrew.net>.
[vlc] / src / video_output / video_text.c
index 0a7a588f58d2309bdd9145019f404cbc77083c26..98157994bb51a32a85f4fedb1736a4ac7b911e03 100644 (file)
@@ -2,7 +2,7 @@
  * video_text.c : text manipulation functions
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: video_text.c,v 1.27 2001/05/31 01:37:08 sam Exp $
+ * $Id: video_text.c,v 1.28 2001/05/31 03:12:49 sam Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -34,9 +34,9 @@
 #include <fcntl.h>                                                 /* open() */
 
 #ifdef HAVE_UNISTD_H
-#include <unistd.h>                                       /* read(), close() */
+#   include <unistd.h>                                    /* read(), close() */
 #elif defined( _MSC_VER ) && defined( _WIN32 )
-#include <io.h>
+#   include <io.h>
 #endif
 
 #ifdef SYS_BEOS
 #   include "darwin_specific.h"
 #endif
 
+#if defined( WIN32 )
+#   include <io.h>
+#endif
+
 #include "config.h"
 #include "common.h"
 #include "video_text.h"