From: cherierm Date: Mon, 25 Sep 2006 16:15:06 +0000 (+0000) Subject: Includes graphxml.h to allow compilation on Builder C++ compiler. X-Git-Tag: v3.3~2554 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fdc3365141999b8b24885ae7473162e4563e2dcd Includes graphxml.h to allow compilation on Builder C++ compiler. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2805 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/graphxml.c b/src/xbt/graphxml.c index 77dc70516f..f757c80d19 100644 --- a/src/xbt/graphxml.c +++ b/src/xbt/graphxml.c @@ -1,3 +1,6 @@ +#include "graphxml.h" + + #line 2 "xbt/graphxml.c" #line 4 "xbt/graphxml.c" @@ -1056,7 +1059,16 @@ const char rcs_graphxml_flexml[] = "$" "Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson 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 @@ -1224,7 +1236,14 @@ const char* *graphxml_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