Fix build for BSD (broken by own 35747ee3d5).

Reported by Shane Ambler, thanks!
This commit is contained in:
Bastien Montagne 2014-04-03 09:20:04 +02:00
parent 9bbb30bf03
commit 0e3e4c90b1
1 changed files with 2 additions and 0 deletions

View File

@ -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"