From f52dc841493c62b9ecd240bba553a8007e1c0e95 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 31 Dec 2004 16:53:06 +0000 Subject: [PATCH] cleanup git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@721 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/portable.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/portable.h b/src/portable.h index a3b18660a6..5534f4f72c 100644 --- a/src/portable.h +++ b/src/portable.h @@ -13,9 +13,13 @@ #include "gras_config.h" -#include -#include /* struct timeval */ -#include +#ifdef HAVE_ERRNO_H +# include +#endif + +#ifdef HAVE_UNISTD_H +# include +#endif /**** **** Networking @@ -123,4 +127,5 @@ const char *gras_wsa_err2string(int errcode); # include "xbt/context_win32.h" /* Manual reimplementation for prehistoric platforms */ #endif + #endif /* GRAS_PORTABLE_H */ -- 2.20.1