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-04-03 11:20:04 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-03 11:21:05 +0400
commit0e3e4c90b1503f8c0af69c5db210071828549f64 (patch)
tree2dbeb21f959eec79c756f1fc3eb31fa504dbc114 /source/blender/blenloader/intern
parent9bbb30bf03b21f4bc9d19250a9f9342157b19aac (diff)
Fix build for BSD (broken by own 35747ee3d547).
Reported by Shane Ambler, thanks!
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/writefile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 894868948f9..46e735245b4 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -85,6 +85,8 @@
# include "winsock2.h"
# include <io.h>
# include "BLI_winstuff.h"
+#else
+# include <unistd.h> /* FreeBSD, for write() and close(). */
#endif
#include "BLI_utildefines.h"