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:
authorNathan Letwory <nathan@letworyinteractive.com>2009-09-06 17:20:05 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2009-09-06 17:20:05 +0400
commitfb649d5824ccccca544c905209ba64340dc1bded (patch)
treeac9894e159f91ffe65c41612779711fbc3525cac /source/blender/blenlib/intern/fileops.c
parent51aa207d200d2cef1cdc7f4e90a6a0f7a4b31c8e (diff)
* cleaning up warnings (mostly windows). A collection of other warning fixes too (undefined function, assuming int, etc.)
This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r--source/blender/blenlib/intern/fileops.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index 0228032df01..e7dc9b0eb1f 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -31,27 +31,29 @@
#include <stdio.h>
#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
+#include <errno.h>
+
#include "zlib.h"
#ifdef WIN32
-#include "BLI_winstuff.h"
#include <io.h>
+#include "BLI_winstuff.h"
#else
#include <unistd.h> // for read close
#include <sys/param.h>
#endif
+
#include "BLI_blenlib.h"
#include "BLI_storage.h"
#include "BLI_fileops.h"
#include "BLI_callbacks.h"
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
#include "BKE_utildefines.h"
-#include <errno.h>
#include "BLO_sys_types.h" // for intptr_t support