From fdc3365141999b8b24885ae7473162e4563e2dcd Mon Sep 17 00:00:00 2001 From: cherierm Date: Mon, 25 Sep 2006 16:15:06 +0000 Subject: [PATCH] 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 --- src/xbt/graphxml.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) 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 -- 2.20.1