git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@721
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
-#include <errno.h>
-#include <sys/time.h> /* struct timeval */
-#include <sys/types.h>
+#ifdef HAVE_ERRNO_H
+# include <errno.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
# include "xbt/context_win32.h" /* Manual reimplementation for prehistoric platforms */
#endif
# include "xbt/context_win32.h" /* Manual reimplementation for prehistoric platforms */
#endif
#endif /* GRAS_PORTABLE_H */
#endif /* GRAS_PORTABLE_H */