From d32e71784e08c19f62fb59f21b0ccb53e5d5aa92 Mon Sep 17 00:00:00 2001 From: BruegelN Date: Wed, 15 May 2019 01:19:17 +0200 Subject: [PATCH] path_to_executable: only include unistd.h if not on windows. --- include/igl/path_to_executable.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/igl/path_to_executable.cpp b/include/igl/path_to_executable.cpp index bb98458e9..fb42a79ba 100644 --- a/include/igl/path_to_executable.cpp +++ b/include/igl/path_to_executable.cpp @@ -11,9 +11,11 @@ #endif #if defined(_WIN32) # include +#else + #include #endif #include -#include + IGL_INLINE std::string igl::path_to_executable() { // http://pastebin.com/ffzzxPzi