From: erg Date: Thu, 3 May 2007 19:09:15 +0000 (+0000) Subject: Add modifications for ast to build on Windows X-Git-Tag: LAST_LIBGRAPH~32^2~5590 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e60d45ee6605dca2c3dee89c23a0c519cd36ba7;p=graphviz Add modifications for ast to build on Windows --- diff --git a/lib/ast/pathpath.c b/lib/ast/pathpath.c index 4a652bb28..8a3e9331f 100644 --- a/lib/ast/pathpath.c +++ b/lib/ast/pathpath.c @@ -30,10 +30,18 @@ #include #include +#ifdef HAVE_UNISTD_H #include +#else +#include +#endif /* #include */ +#ifdef WIN32 +#define environ _environ +#else extern char **environ; +#endif char **opt_info_argv; char *pathpath(register char *path, const char *p, const char *a, int mode)