]> git.mxchange.org Git - flightgear.git/commitdiff
Compile xmlgrep with MSVC 7.1
authorfredb <fredb>
Thu, 7 May 2009 20:25:27 +0000 (20:25 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 18 May 2009 10:24:16 +0000 (12:24 +0200)
utils/xmlgrep/xmlgrep.c

index 98a1077386a51f9471dc736b8b0e64edb661494e..35add47a5d65ca7022108200db213bedfb873149 100644 (file)
@@ -5,12 +5,13 @@
 #include <string.h>
 #ifndef _MSC_VER
 # include <strings.h>
+# include <unistd.h>   /* read */
 #else
 # define strncasecmp strnicmp
 # include <stdlib.h>
+# include <io.h>
 #endif
 #include <assert.h>
-#include <unistd.h>    /* read */
 #include <sys/stat.h>  /* fstat */
 #include <fcntl.h>     /* open */