Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-06-24 10:31:29 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-06-24 10:31:29 +0400
commit65bb121401300ffeda6539ddbdef44f2312ab074 (patch)
tree6765ed76e47fb03066275c8979a2cc56056716e7 /source/blender/blenlib/intern/path_util.c
parent9ca0c7eea3cc2cdda9d6c6014a565372230a059e (diff)
Fix compilation on OSX after own rB414c70435dcd...
Sigh, why can't all unix have same includes? :/
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index d95cb5e5ee1..0b89ec1f0d0 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -66,6 +66,7 @@
# ifdef WITH_BINRELOC
# include "binreloc.h"
# endif
+# include <unistd.h> /* mkdtemp on OSX (and probably all *BSD?), not worth making specific check for this OS. */
#endif /* WIN32 */
/* local */