Permalink
Browse files

Fixed include unistd.h for MSVC

 - MSVC does not have <unistd.h> header
   Reference: http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00145.html
  • Loading branch information...
subcomandante committed Apr 25, 2012
1 parent 57adf87 commit 601b39433de1027f6a81558492f9c5b6b6e8fc0a
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/yafraycore/scene.cc
View
@@ -39,7 +39,9 @@
#include <iostream>
#include <limits>
#include <sstream>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+ #include <unistd.h>
+#endif
__BEGIN_YAFRAY

0 comments on commit 601b394

Please sign in to comment.