]> granicus.if.org Git - graphviz/commitdiff
Add additional include files for Windows build to eliminate more warnings
authorerg <devnull@localhost>
Thu, 27 Jul 2006 03:44:05 +0000 (03:44 +0000)
committererg <devnull@localhost>
Thu, 27 Jul 2006 03:44:05 +0000 (03:44 +0000)
plugin/core/gvloadimage_core.c
plugin/core/gvrender_core_svg.c
plugin/gd/gvrender_gd.c

index 9419d1eb8a11de77334dc7eaa796cdff3e94e7e0..3f236375fa702ff8620518d8fa1fe529f43c3a44 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdlib.h>
 #include <sys/types.h>
+#ifdef WIN32
+#include <io.h>
+#endif
 #include <sys/stat.h>
 #if HAVE_UNISTD_H
 #include <unistd.h>
index 57f2b510dee1237bfbf6eb232d5cc305f717befe..4cf277db91c40000a70d0d8489760d1001df6f16 100644 (file)
 #include "config.h"
 #endif
 
+#ifdef WIN32
+#include <io.h>
+#include <compat.h>
+#endif
+
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
index 6f7afa036a5d943656be27f02e4c0cafbe1eb1f7..d6eedb9799dec67ec79217e3aecebebea78d6bd7 100644 (file)
@@ -18,6 +18,9 @@
 #include "config.h"
 #endif
 
+#ifdef WIN32
+#include <io.h>
+#endif
 #include <stdlib.h>
 #include <stddef.h>
 #include <string.h>