From: mquinson Date: Fri, 31 Dec 2004 16:53:06 +0000 (+0000) Subject: cleanup X-Git-Tag: v3.3~4629 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f52dc841493c62b9ecd240bba553a8007e1c0e95?ds=sidebyside cleanup git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@721 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- 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 */