From: Martin Quinson Date: Sat, 12 Sep 2015 23:08:23 +0000 (+0200) Subject: [MSVC] unistd.h does not exist on windows X-Git-Tag: v3_12~233 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1876652d1c5ecba3563a619f9020d781210c4653?hp=b4fdc66c6172f7b1e5b487f4155ee93a6ccab5a6 [MSVC] unistd.h does not exist on windows --- diff --git a/src/xbt/parmap.c b/src/xbt/parmap.c index b5d9025ff2..a19ed045e6 100644 --- a/src/xbt/parmap.c +++ b/src/xbt/parmap.c @@ -5,7 +5,9 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "internal_config.h" +#ifdef HAVE_UNISTD_H #include +#endif #ifndef _XBT_WIN32 #include