]> granicus.if.org Git - libexpat/commitdiff
Fix missing posix functions declaration on Visual Studio build
authorvanklompf <fkorta@gmail.com>
Sun, 3 Dec 2017 00:49:39 +0000 (01:49 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 3 Dec 2017 15:31:12 +0000 (16:31 +0100)
expat/xmlwf/readfilemap.c

index 3cc4f7618eff0e7db383c27369723d57866f2503..dd7543d8e80718ba896e26e45cc58db91b5adc20 100644 (file)
@@ -43,6 +43,7 @@
 
 /* Function "read": */
 #if defined(_MSC_VER)
+# include <io.h>
   /* https://msdn.microsoft.com/en-us/library/wyssk1bs(v=vs.100).aspx */
 # define _EXPAT_read          _read
 # define _EXPAT_read_count_t  int