diff options
author | Vincent van Ravesteijn <vfr@lyx.org> | 2011-10-31 20:12:43 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-31 20:06:03 -0700 |
commit | 7b05949be007952c5f7708aac50e731534740574 (patch) | |
tree | ed508a2c20c32ab69cac588dce806e66742dbcdf /compat | |
parent | cfc755d30e2f9d92f19af10ba2d810281aa94c99 (diff) | |
download | git-7b05949be007952c5f7708aac50e731534740574.tar.gz |
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>
Diffstat (limited to 'compat')
-rw-r--r-- | compat/msvc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/msvc.h b/compat/msvc.h index a33b01c032..aa4b56315a 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 |