]> 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)
lib/agraph/scan.l
lib/agraph/write.c
lib/common/colxlate.c
lib/pathplan/pathplan.h

index fe8af7398747fc2445f46e4ff4e23b1a602df63c..2e3f59480d4c4c13de16626daeddf7d8a0d38279 100644 (file)
@@ -20,6 +20,9 @@
 #include <ctype.h>
 #include "grammar.h"
 #include "aghdr.h"
+#ifdef WIN32
+#include <io.h>
+#endif
 
 #define GRAPH_EOF_TOKEN                '@'             /* lex class must be defined below */
        /* this is a workaround for linux flex */
index 0424e1a7136053eae9df176a77cee611585c8e27..390de7bd487bdc988b52ec1f5397f3ef1ba26638 100644 (file)
@@ -15,6 +15,9 @@
 **********************************************************/
 
 
+#ifdef WIN32
+#include <compat.h>
+#endif
 #include <stdio.h>             /* need sprintf() */
 #include <ctype.h>
 #include "aghdr.h"
index e8c74f8277be05db29d81ee85201582e5e5872fb..0569b9dae8bb924aff291034b71b31e8ccb2aae3 100644 (file)
@@ -16,6 +16,9 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef WIN32
+#include <compat.h>
+#endif
 #include <string.h>
 #include <ctype.h>
 
index c709e0ac4956ff3e0ee6fc6a775023828887b444..d8c54b309e6e8142bdeb7668b4d5c0d863a7b7f8 100644 (file)
@@ -26,7 +26,7 @@ extern "C" {
 #endif
 
 
-#if defined(_BLD_pathplan) && defined(_DLL)
+#if defined(_BLD_pathplan) && defined(__EXPORT__)
 #   define extern __EXPORT__
 #endif