From a0cc82a6dcdcfc18b229c1f968842740f65114bc Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 23 Oct 2015 12:02:06 +0000
Subject: [PATCH] <unistd.h> not available on Windows

---
 contrib/MeshOptimizer/MeshOpt.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/contrib/MeshOptimizer/MeshOpt.cpp b/contrib/MeshOptimizer/MeshOpt.cpp
index ad8e9c4665..7beba21227 100644
--- a/contrib/MeshOptimizer/MeshOpt.cpp
+++ b/contrib/MeshOptimizer/MeshOpt.cpp
@@ -36,8 +36,6 @@
 #include "MeshOptCommon.h"
 #include "MeshOpt.h"
 
-#include <unistd.h>
-
 #if defined(HAVE_BFGS)
 
 #include "ap.h"
@@ -49,7 +47,7 @@
 
 namespace {
 
-  
+
 
 void evalObjGradFunc(const alglib::real_1d_array &x, double &Obj,
                      alglib::real_1d_array &gradObj, void *MOInst)
-- 
GitLab