Skip to content

Commit b717602

Browse files
vfr-nldscho
authored andcommitted
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> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
1 parent 934e193 commit b717602

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compat/msvc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <direct.h>
55
#include <process.h>
66
#include <malloc.h>
7+
#include <io.h>
78

89
/* porting function */
910
#define inline __inline

0 commit comments

Comments
 (0)