[Bf-blender-cvs] [d15899c] master: Cycles: Fix compilation error after recent commits

Sergey Sharybin noreply at git.blender.org
Mon Sep 12 16:07:24 CEST 2016


Commit: d15899cca71df8cce3f73ef808899190ec33ebb8
Author: Sergey Sharybin
Date:   Mon Sep 12 16:06:50 2016 +0200
Branches: master
https://developer.blender.org/rBd15899cca71df8cce3f73ef808899190ec33ebb8

Cycles: Fix compilation error after recent commits

===================================================================

M	intern/cycles/util/util_path.cpp

===================================================================

diff --git a/intern/cycles/util/util_path.cpp b/intern/cycles/util/util_path.cpp
index d515b62..9ec67cb 100644
--- a/intern/cycles/util/util_path.cpp
+++ b/intern/cycles/util/util_path.cpp
@@ -37,6 +37,8 @@ OIIO_NAMESPACE_USING
 #  define DIR_SEP '/'
 #  include <dirent.h>
 #  include <pwd.h>
+#  include <unistd.h>
+#  include <sys/types.h>
 #endif
 
 #ifdef HAVE_SHLWAPI_H




More information about the Bf-blender-cvs mailing list