public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Vincent van Ravesteijn <vfr@lyx•org>
To: git@vger•kernel.org
Subject: [PATCH 2/3] MSVC: Compile fix by including io.h
Date: Fri, 21 Oct 2011 21:39:42 +0200	[thread overview]
Message-ID: <4EA1CA7E.5030301@lyx.org> (raw)
In-Reply-To: <4EA1C9C9.9010904@lyx.org>

Include io.h when compiling with MSVC

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.6.msysgit.0

  reply	other threads:[~2011-10-21 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 19:36 [PATCH 1/3] MSVC: Compile fix by not including sys/resources.h Vincent van Ravesteijn
2011-10-21 19:39 ` Vincent van Ravesteijn [this message]
2011-10-21 19:42 ` [PATCH 3/3] MSVC: Remove unneeded header stubs Vincent van Ravesteijn
2011-10-22  0:56 ` [PATCH 1/3] MSVC: Compile fix by not including sys/resources.h 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=4EA1CA7E.5030301@lyx.org \
    --to=vfr@lyx$(echo .)org \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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