diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-03 11:20:04 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-03 11:21:05 +0400 |
commit | 0e3e4c90b1503f8c0af69c5db210071828549f64 (patch) | |
tree | 2dbeb21f959eec79c756f1fc3eb31fa504dbc114 /source/blender/blenloader | |
parent | 9bbb30bf03b21f4bc9d19250a9f9342157b19aac (diff) |
Fix build for BSD (broken by own 35747ee3d547).
Reported by Shane Ambler, thanks!
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 |
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" |