X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1cd1a5695d7e05cd3dd2460eee2a3eaf0cee12c7..00db56dc1eb37659b946d5b0f0d2fcd514c78a6f:/src/surf/surfxml.c diff --git a/src/surf/surfxml.c b/src/surf/surfxml.c index eee52c07cd..3dd7c67571 100644 --- a/src/surf/surfxml.c +++ b/src/surf/surfxml.c @@ -1903,7 +1903,14 @@ const char rcs_surfxml_flexml[] = "$" "Id: flexml.pl,v 1.61 2006/09/13 16:34:33 wdowling Exp $"; /* ANSI headers. */ -#include +#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) +# ifndef __STRICT_ANSI__ +# include +# include +# endif +#else +# include +#endif #include #include #include @@ -2185,7 +2192,14 @@ const char* *surfxml_statenames=NULL; * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ -#include +#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) +# ifndef __STRICT_ANSI__ +# include +# include +# endif +#else +# include +#endif #endif #ifndef YY_EXTRA_TYPE