git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/3] MSVC: Compile fix by including io.h

From
Vincent van Ravesteijn <vfr@lyx.org>
Date
Oct 21, 2011, 19:39 UTC
Message-ID
<4EA1CA7E.5030301@lyx.org>
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
Previous: Vincent van RavesteijnNext: Vincent van Ravesteijn
Message 2 of 4 in “MSVC: Compile fix by not including sys/resources.h”
  1. 1/3 MSVC: Compile fix by not including sys/resources.hVincent van Ravesteijn, Oct 21, 2011
  2. 2/3 MSVC: Compile fix by including io.hVincent van Ravesteijn, Oct 21, 2011
  3. 3/3 MSVC: Remove unneeded header stubsVincent van Ravesteijn, Oct 21, 2011
  4. Junio C HamanoOct 22, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.