From 6a10ff0a0b9c2185332906ba6157af69b9d47e26 Mon Sep 17 00:00:00 2001 From: cherierm Date: Mon, 26 Mar 2007 08:47:26 +0000 Subject: [PATCH] on windows getline function needs the stdio.h include file git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3359 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/str.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/xbt/str.h b/include/xbt/str.h index ae25643cc8..6a9bccfc13 100644 --- a/include/xbt/str.h +++ b/include/xbt/str.h @@ -10,9 +10,15 @@ #include "xbt/misc.h" + + #ifndef XBT_STR_H #define XBT_STR_H +#if defined(_WIN32) +#include +#endif + SG_BEGIN_DECL() XBT_PUBLIC(int) asprintf (char **ptr, const char *fmt, /*args*/ ...) _XBT_GNUC_PRINTF(2,3); -- 2.20.1