Compile fix for MSVC: Include <io.h>

This include is needed for _commit(..) which is used in mingw.h.

Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org>
Acked-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Vincent van Ravesteijn 2011-10-31 20:12:43 +01:00 committed by Junio C Hamano
parent cfc755d30e
commit 7b05949be0

View file

@ -4,6 +4,7 @@
#include <direct.h>
#include <process.h>
#include <malloc.h>
#include <io.h>
/* porting function */
#define inline __inline