[PATCH 2/3] Compile fix for MSVC: Include <io.h>
- From
Vincent van Ravesteijn <vfr@lyx.org>
- Date
- Oct 31, 2011, 19:12 UTC
- Message-ID
- <1320088364-25916-3-git-send-email-vfr@lyx.org>
- In-Reply-To
- <1320088364-25916-1-git-send-email-vfr@lyx.org>
This include is needed for _commit(..) which is used in mingw.h.
Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org> --- compat/msvc.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/compat/msvc.h b/compat/msvc.h index a33b01c..aa4b563 100644 --- a/compat/msvc.h +++ b/compat/msvc.h @@ -4,6 +4,7 @@ #include <direct.h> #include <process.h> #include <malloc.h> +#include <io.h> /* porting function */ #define inline __inline
-- 1.7.4.1