[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12957] trunk/blender/source/blender/ blenlib/intern/bpath.c: hopefully fix compiling on win32

Campbell Barton ideasman42 at gmail.com
Thu Dec 20 13:37:15 CET 2007


Revision: 12957
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12957
Author:   campbellbarton
Date:     2007-12-20 13:37:15 +0100 (Thu, 20 Dec 2007)

Log Message:
-----------
hopefully fix compiling on win32

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/bpath.c

Modified: trunk/blender/source/blender/blenlib/intern/bpath.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/bpath.c	2007-12-20 10:52:56 UTC (rev 12956)
+++ trunk/blender/source/blender/blenlib/intern/bpath.c	2007-12-20 12:37:15 UTC (rev 12957)
@@ -53,20 +53,21 @@
 /* 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
 
 





More information about the Bf-blender-cvs mailing list