From 3bd5ef08704c17d2c2a951932d44dbe0a1adc0ee Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 14 Sep 2015 10:01:35 +0200 Subject: [PATCH] load system headers after simgrid ones This is an attempt to get xbt/base.h loaded before stdio.h, so that _CRT_SECURE_NO_WARNINGS gets defined before the declaration of fopen --- include/xbt/misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xbt/misc.h b/include/xbt/misc.h index afbe273e26..87dbc481ef 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -9,12 +9,12 @@ #ifndef XBT_MISC_H #define XBT_MISC_H -#include - #include "simgrid_config.h" #include "base.h" #include "dynar.h" +#include + SG_BEGIN_DECL() /** Cache the size of a memory page for the current system. */ -- 2.20.1