From 1876652d1c5ecba3563a619f9020d781210c4653 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 13 Sep 2015 01:08:23 +0200 Subject: [PATCH 1/1] [MSVC] unistd.h does not exist on windows --- src/xbt/parmap.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1