msvc: fix implicitly declared read/close.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/271/head
Matthew Oliver 10 years ago committed by Michael Niedermayer
parent 3fa9692ae2
commit 66627075d9
  1. 4
      libavcodec/libxvid.c
  2. 4
      libavcodec/libxvid_rc.c
  3. 3
      libavutil/random_seed.c

@ -39,6 +39,10 @@
#include <unistd.h>
#endif
#if HAVE_IO_H
#include <io.h>
#endif
/**
* Buffer management macros.
*/

@ -32,6 +32,10 @@
#include <unistd.h>
#endif
#if HAVE_IO_H
#include <io.h>
#endif
#undef NDEBUG
#include <assert.h>

@ -23,6 +23,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_IO_H
#include <io.h>
#endif
#if HAVE_CRYPTGENRANDOM
#include <windows.h>
#include <wincrypt.h>

Loading…
Cancel
Save