From: navarrop Date: Mon, 13 Sep 2010 08:24:35 +0000 (+0000) Subject: If we are on windows _GNU is defined by cmake. X-Git-Tag: v3_5~646 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4045435eef35241f254ca5be8222cf6539e9a725 If we are on windows _GNU is defined by cmake. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8178 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index efba50f6e6..1592e9e905 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -18,6 +18,8 @@ #include "xbt/misc.h" #include "xbt/asserts.h" +#include "simgrid_config.h" + SG_BEGIN_DECL() /* They live in asserts.h, but need to be declared before this module. diff --git a/src/portable.h b/src/portable.h index 57d6a16dd6..cb5bc991aa 100644 --- a/src/portable.h +++ b/src/portable.h @@ -21,6 +21,7 @@ #endif #include +#include #ifdef HAVE_ERRNO_H # include