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:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-04-12 06:56:41 +0400
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-04-12 06:56:41 +0400
commit091f70e92d2160f0326ec75ed175fc206b2477b9 (patch)
tree74e746546c41efc8cb06eb047c63fc410b656772 /source/blender/modifiers/intern/MOD_fluidsim_util.c
parente5a01c66a3ab27e99edd6559610b36a0ca8bb2db (diff)
Work around to keep compiler going with zlib.h:
In file included from MOD_fluidsim_util.c:62: /usr/include/zlib.h:1440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gzseek64’ TODO: string.h appears twice and "" vs <> seems arbitrary.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_fluidsim_util.c')
-rw-r--r--source/blender/modifiers/intern/MOD_fluidsim_util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c
index 105ee919a4e..281c8ae90ec 100644
--- a/source/blender/modifiers/intern/MOD_fluidsim_util.c
+++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c
@@ -30,6 +30,8 @@
*
*/
+#include <zlib.h>
+
#include "stddef.h"
#include "string.h"
#include "math.h"
@@ -51,7 +53,7 @@
#include "DNA_object_types.h"
#include "DNA_object_fluidsim.h"
#include "DNA_scene_types.h"
-#include "DNA_space_types.h" // FILE_MAX
+#include "DNA_space_types.h"
#include "MOD_modifiertypes.h"
#include "MOD_fluidsim_util.h"
@@ -59,7 +61,6 @@
// headers for fluidsim bobj meshes
#include <stdlib.h>
#include "LBM_fluidsim.h"
-#include <zlib.h>
#include <string.h>
#include <stdio.h>