From: Vincent van Ravesteijn <vfr@lyx.org>
To: git@vger.kernel.org
Cc: kusmabite@gmail.com, ramsay@ramsay1.demon.co.uk,
msysgit@googlegroups.com, gitster@pobox.com,
Vincent van Ravesteijn <vfr@lyx.org>
Subject: [PATCH 2/3] Compile fix for MSVC: Include <io.h>
Date: Mon, 31 Oct 2011 20:12:43 +0100 [thread overview]
Message-ID: <1320088364-25916-3-git-send-email-vfr@lyx.org> (raw)
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
next prev parent reply other threads:[~2011-10-31 19:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 19:12 [PATCHv2] Compile fix for MSVC Vincent van Ravesteijn
2011-10-31 19:12 ` [PATCH 1/3] Compile fix for MSVC: Do not include sys/resources.h Vincent van Ravesteijn
2011-10-31 19:12 ` Vincent van Ravesteijn [this message]
2011-10-31 19:12 ` [PATCH 3/3] MSVC: Remove unneeded header stubs Vincent van Ravesteijn
2011-10-31 20:34 ` [PATCHv2] Compile fix for MSVC Junio C Hamano
2011-11-01 0:09 ` [msysGit] " Johannes Schindelin
2011-11-01 3:30 ` Junio C Hamano
2011-11-01 11:56 ` Erik Faye-Lund
2011-11-01 16:45 ` Junio C Hamano
2011-11-01 20:35 ` Erik Faye-Lund
2011-11-01 20:47 ` Junio C Hamano
2011-11-01 18:40 ` Johannes Schindelin
2011-11-01 20:43 ` Erik Faye-Lund
2011-11-01 22:51 ` [msysGit] " Johannes Schindelin
2011-11-01 22:32 ` Vincent van Ravesteijn
2011-11-01 22:40 ` [msysGit] " Johannes Schindelin
2011-11-01 23:33 ` Vincent van Ravesteijn
2011-11-02 0:48 ` [msysGit] " Pat Thoyts
2011-11-02 7:34 ` Vincent van Ravesteijn
2011-11-04 15:39 ` Sebastian Schuberth
2011-11-01 0:36 ` Erik Faye-Lund
2011-11-01 3:30 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1320088364-25916-3-git-send-email-vfr@lyx.org \
--to=vfr@lyx.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=kusmabite@gmail.com \
--cc=msysgit@googlegroups.com \
--cc=ramsay@ramsay1.demon.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).