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:
authorCampbell Barton <ideasman42@gmail.com>2007-12-20 15:37:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-20 15:37:15 +0300
commit846e4027ce65f62654afcf23ed18365d8e501c1e (patch)
treed7a10e82e8a31b27b1f50573323ba712ed33320b /source/blender/blenlib
parenta637aca44ab6b19e054c605ff412be59d7828563 (diff)
hopefully fix compiling on win32
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/bpath.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c
index 4e394bb7fae..2c1ebd59a55 100644
--- a/source/blender/blenlib/intern/bpath.c
+++ b/source/blender/blenlib/intern/bpath.c
@@ -53,19 +53,20 @@
/* path/file handeling stuff */
#ifndef WIN32
#include <dirent.h>
+ #include <unistd.h>
#else
#include "BLI_winstuff.h"
+ #include <io.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
-#include <math.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <unistd.h>
+
#define FILE_MAX 240