Commit 66627075 authored by Matthew Oliver's avatar Matthew Oliver Committed by Michael Niedermayer

msvc: fix implicitly declared read/close.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3fa9692a
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#if HAVE_IO_H
#include <io.h>
#endif
/** /**
* Buffer management macros. * Buffer management macros.
*/ */
......
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#if HAVE_IO_H
#include <io.h>
#endif
#undef NDEBUG #undef NDEBUG
#include <assert.h> #include <assert.h>
......
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
#if HAVE_IO_H
#include <io.h>
#endif
#if HAVE_CRYPTGENRANDOM #if HAVE_CRYPTGENRANDOM
#include <windows.h> #include <windows.h>
#include <wincrypt.h> #include <wincrypt.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment