#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 */
**********************************************************/
+#ifdef WIN32
+#include <compat.h>
+#endif
#include <stdio.h> /* need sprintf() */
#include <ctype.h>
#include "aghdr.h"
#include <stdio.h>
#include <stdlib.h>
+#ifdef WIN32
+#include <compat.h>
+#endif
#include <string.h>
#include <ctype.h>
#endif
-#if defined(_BLD_pathplan) && defined(_DLL)
+#if defined(_BLD_pathplan) && defined(__EXPORT__)
# define extern __EXPORT__
#endif