From b9a19f1ea702446cb176d3f621de331d5c2cc9da Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 11:16:17 +0000 Subject: [PATCH] Did all of the .h's in source (adding) #ifdef HAVE_CONFIG_H #include #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu --- intern/SoundSystem/SND_C-api.h | 4 ++++ intern/SoundSystem/SND_CDObject.h | 4 ++++ intern/SoundSystem/SND_DependKludge.h | 3 +++ intern/SoundSystem/SND_DeviceManager.h | 4 ++++ intern/SoundSystem/SND_IAudioDevice.h | 3 +++ intern/SoundSystem/SND_Object.h | 4 ++++ intern/SoundSystem/SND_Scene.h | 4 ++++ intern/SoundSystem/SND_SoundListener.h | 4 ++++ intern/SoundSystem/SND_SoundObject.h | 3 +++ intern/SoundSystem/SND_Utils.h | 4 ++++ intern/SoundSystem/SND_WaveCache.h | 4 ++++ intern/SoundSystem/SND_WaveSlot.h | 4 ++++ intern/SoundSystem/SoundDefines.h | 4 ++++ intern/SoundSystem/dummy/SND_DummyDevice.h | 4 ++++ intern/SoundSystem/fmod/SND_FmodDevice.h | 4 ++++ intern/SoundSystem/intern/SND_AudioDevice.h | 3 +++ intern/SoundSystem/intern/SND_IdObject.h | 4 ++++ intern/SoundSystem/openal/SND_OpenALDevice.h | 4 ++++ source/blender/avi/AVI_avi.h | 4 ++++ source/blender/avi/intern/avi_intern.h | 4 ++++ source/blender/avi/intern/avirgb.h | 5 +++++ source/blender/avi/intern/endian.h | 4 ++++ source/blender/avi/intern/mjpeg.h | 5 +++++ source/blender/avi/intern/rgb32.h | 5 +++++ source/blender/blenkernel/BKE_action.h | 4 ++++ source/blender/blenkernel/BKE_armature.h | 4 ++++ source/blender/blenkernel/BKE_bad_level_calls.h | 4 ++++ source/blender/blenkernel/BKE_blender.h | 5 +++++ source/blender/blenkernel/BKE_bmfont.h | 4 ++++ source/blender/blenkernel/BKE_bmfont_types.h | 4 ++++ source/blender/blenkernel/BKE_booleanops.h | 3 +++ source/blender/blenkernel/BKE_booleanops_mesh.h | 4 ++++ source/blender/blenkernel/BKE_constraint.h | 4 ++++ source/blender/blenkernel/BKE_curve.h | 4 ++++ source/blender/blenkernel/BKE_deform.h | 4 ++++ source/blender/blenkernel/BKE_displist.h | 3 +++ source/blender/blenkernel/BKE_effect.h | 4 ++++ source/blender/blenkernel/BKE_endian.h | 4 ++++ source/blender/blenkernel/BKE_exotic.h | 4 ++++ source/blender/blenkernel/BKE_font.h | 4 ++++ source/blender/blenkernel/BKE_global.h | 4 ++++ source/blender/blenkernel/BKE_group.h | 5 +++++ source/blender/blenkernel/BKE_ika.h | 4 ++++ source/blender/blenkernel/BKE_image.h | 4 ++++ source/blender/blenkernel/BKE_ipo.h | 4 ++++ source/blender/blenkernel/BKE_key.h | 4 ++++ source/blender/blenkernel/BKE_lattice.h | 4 ++++ source/blender/blenkernel/BKE_library.h | 4 ++++ source/blender/blenkernel/BKE_main.h | 4 ++++ source/blender/blenkernel/BKE_material.h | 4 ++++ source/blender/blenkernel/BKE_mball.h | 4 ++++ source/blender/blenkernel/BKE_mesh.h | 4 ++++ source/blender/blenkernel/BKE_nla.h | 4 ++++ source/blender/blenkernel/BKE_object.h | 4 ++++ source/blender/blenkernel/BKE_osa_types.h | 5 +++++ source/blender/blenkernel/BKE_packedFile.h | 4 ++++ source/blender/blenkernel/BKE_plugin_types.h | 4 ++++ source/blender/blenkernel/BKE_property.h | 4 ++++ source/blender/blenkernel/BKE_sca.h | 4 ++++ source/blender/blenkernel/BKE_scene.h | 4 ++++ source/blender/blenkernel/BKE_screen.h | 4 ++++ source/blender/blenkernel/BKE_sound.h | 4 ++++ source/blender/blenkernel/BKE_subsurf.h | 4 ++++ source/blender/blenkernel/BKE_text.h | 4 ++++ source/blender/blenkernel/BKE_texture.h | 4 ++++ source/blender/blenkernel/BKE_utildefines.h | 4 ++++ source/blender/blenkernel/BKE_world.h | 4 ++++ source/blender/blenkernel/BKE_writeavi.h | 4 ++++ source/blender/blenlib/BLI_arithb.h | 4 ++++ source/blender/blenlib/BLI_blenlib.h | 4 ++++ source/blender/blenlib/BLI_dynstr.h | 4 ++++ source/blender/blenlib/BLI_editVert.h | 4 ++++ source/blender/blenlib/BLI_ghash.h | 4 ++++ source/blender/blenlib/BLI_gsqueue.h | 4 ++++ source/blender/blenlib/BLI_linklist.h | 4 ++++ source/blender/blenlib/BLI_memarena.h | 4 ++++ source/blender/blenlib/BLI_rand.h | 4 ++++ source/blender/blenlib/BLI_storage_types.h | 4 ++++ source/blender/blenlib/BLI_vfontdata.h | 4 ++++ source/blender/blenlib/BLI_winstuff.h | 4 ++++ source/blender/blenlib/MTC_matrixops.h | 4 ++++ source/blender/blenlib/MTC_vectorops.h | 4 ++++ source/blender/blenlib/PIL_dynlib.h | 4 ++++ source/blender/blenlib/PIL_time.h | 4 ++++ source/blender/blenlib/intern/BLI_callbacks.h | 4 ++++ source/blender/blenlib/intern/BLI_fileops.h | 4 ++++ source/blender/blenlib/intern/BLI_scanfill.h | 3 +++ source/blender/blenlib/intern/BLI_storage.h | 4 ++++ source/blender/blenlib/intern/BLI_util.h | 4 ++++ source/blender/blenloader/BLO_genfile.h | 4 ++++ source/blender/blenloader/BLO_readfile.h | 4 ++++ source/blender/blenloader/BLO_soundfile.h | 4 ++++ source/blender/blenloader/BLO_writefile.h | 4 ++++ source/blender/blenloader/intern/genfile.h | 4 ++++ source/blender/blenloader/intern/readfile.h | 4 ++++ source/blender/blenpluginapi/floatpatch.h | 4 ++++ source/blender/blenpluginapi/iff.h | 4 ++++ source/blender/blenpluginapi/plugin.h | 4 ++++ source/blender/blenpluginapi/util.h | 4 ++++ source/blender/bpython/include/BPY_extern.h | 5 +++++ source/blender/bpython/include/BPY_objtypes.h | 5 +++++ source/blender/bpython/intern/BPY_constobject.h | 5 +++++ source/blender/bpython/intern/BPY_csg.h | 5 +++++ source/blender/bpython/intern/BPY_listbase_macro.h | 4 ++++ source/blender/bpython/intern/BPY_macros.h | 4 ++++ source/blender/bpython/intern/BPY_main.h | 3 +++ source/blender/bpython/intern/BPY_modules.h | 4 ++++ source/blender/bpython/intern/BPY_tools.h | 5 +++++ source/blender/bpython/intern/BPY_types.h | 4 ++++ source/blender/bpython/intern/BPY_window.h | 4 ++++ source/blender/bpython/intern/api.h | 5 +++++ source/blender/bpython/intern/b_import.h | 5 +++++ source/blender/bpython/intern/b_interface.h | 5 +++++ source/blender/bpython/intern/opy_datablock.h | 5 +++++ source/blender/bpython/intern/opy_nmesh.h | 4 ++++ source/blender/bpython/intern/opy_vector.h | 4 ++++ source/blender/decrypt/BLO_decrypt.h | 4 ++++ source/blender/decrypt/BLO_en_de_cryptHeader.h | 4 ++++ source/blender/deflate/BLO_deflate.h | 4 ++++ source/blender/encrypt/BLO_encrypt.h | 4 ++++ source/blender/imbuf/IMB_imbuf.h | 5 +++++ source/blender/imbuf/IMB_imbuf_types.h | 5 +++++ source/blender/imbuf/intern/IMB_allocimbuf.h | 4 ++++ source/blender/imbuf/intern/IMB_amiga.h | 4 ++++ source/blender/imbuf/intern/IMB_bitplanes.h | 4 ++++ source/blender/imbuf/intern/IMB_bmp.h | 4 ++++ source/blender/imbuf/intern/IMB_cmap.h | 4 ++++ source/blender/imbuf/intern/IMB_divers.h | 4 ++++ source/blender/imbuf/intern/IMB_filter.h | 4 ++++ source/blender/imbuf/intern/IMB_ham.h | 4 ++++ source/blender/imbuf/intern/IMB_hamx.h | 4 ++++ source/blender/imbuf/intern/IMB_iff.h | 4 ++++ source/blender/imbuf/intern/IMB_iris.h | 4 ++++ source/blender/imbuf/intern/IMB_jpeg.h | 4 ++++ source/blender/imbuf/intern/IMB_png.h | 4 ++++ source/blender/imbuf/intern/IMB_targa.h | 4 ++++ source/blender/imbuf/intern/imbuf.h | 4 ++++ source/blender/imbuf/intern/imbuf_patch.h | 4 ++++ source/blender/imbuf/intern/matrix.h | 4 ++++ source/blender/img/IMG_Api.h | 3 +++ source/blender/img/intern/IMG_BrushRGBA32.h | 4 ++++ source/blender/img/intern/IMG_CanvasRGBA32.h | 4 ++++ source/blender/img/intern/IMG_Color.h | 4 ++++ source/blender/img/intern/IMG_Line.h | 4 ++++ source/blender/img/intern/IMG_MemPtr.h | 4 ++++ source/blender/img/intern/IMG_Pixmap.h | 4 ++++ source/blender/img/intern/IMG_PixmapRGBA32.h | 4 ++++ source/blender/img/intern/IMG_Rect.h | 4 ++++ source/blender/img/intern/IMG_Types.h | 4 ++++ source/blender/include/BDR_drawaction.h | 4 ++++ source/blender/include/BDR_drawmesh.h | 4 ++++ source/blender/include/BDR_drawobject.h | 4 ++++ source/blender/include/BDR_editcurve.h | 4 ++++ source/blender/include/BDR_editface.h | 4 ++++ source/blender/include/BDR_editmball.h | 4 ++++ source/blender/include/BDR_editobject.h | 4 ++++ source/blender/include/BDR_isect.h | 3 +++ source/blender/include/BDR_vpaint.h | 4 ++++ source/blender/include/BIF_buttons.h | 4 ++++ source/blender/include/BIF_drawimage.h | 4 ++++ source/blender/include/BIF_drawoops.h | 4 ++++ source/blender/include/BIF_drawscene.h | 5 +++++ source/blender/include/BIF_drawseq.h | 4 ++++ source/blender/include/BIF_drawtext.h | 4 ++++ source/blender/include/BIF_editarmature.h | 4 ++++ source/blender/include/BIF_editconstraint.h | 4 ++++ source/blender/include/BIF_editdeform.h | 4 ++++ source/blender/include/BIF_editfont.h | 4 ++++ source/blender/include/BIF_editgroup.h | 5 +++++ source/blender/include/BIF_editika.h | 5 +++++ source/blender/include/BIF_editkey.h | 4 ++++ source/blender/include/BIF_editlattice.h | 4 ++++ source/blender/include/BIF_editmesh.h | 4 ++++ source/blender/include/BIF_editnla.h | 4 ++++ source/blender/include/BIF_editoops.h | 4 ++++ source/blender/include/BIF_editsca.h | 4 ++++ source/blender/include/BIF_editseq.h | 4 ++++ source/blender/include/BIF_editsima.h | 5 +++++ source/blender/include/BIF_editsound.h | 4 ++++ source/blender/include/BIF_editview.h | 4 ++++ source/blender/include/BIF_fsmenu.h | 4 ++++ source/blender/include/BIF_gl.h | 4 ++++ source/blender/include/BIF_glutil.h | 4 ++++ source/blender/include/BIF_graphics.h | 4 ++++ source/blender/include/BIF_imasel.h | 4 ++++ source/blender/include/BIF_interface.h | 4 ++++ source/blender/include/BIF_keyval.h | 4 ++++ source/blender/include/BIF_mainqueue.h | 4 ++++ source/blender/include/BIF_mywindow.h | 4 ++++ source/blender/include/BIF_oops.h | 4 ++++ source/blender/include/BIF_poseobject.h | 4 ++++ source/blender/include/BIF_previewrender.h | 5 +++++ source/blender/include/BIF_renderwin.h | 5 +++++ source/blender/include/BIF_resources.h | 4 ++++ source/blender/include/BIF_scrarea.h | 5 +++++ source/blender/include/BIF_screen.h | 4 ++++ source/blender/include/BIF_space.h | 4 ++++ source/blender/include/BIF_spacetypes.h | 5 +++++ source/blender/include/BIF_tbcallback.h | 4 ++++ source/blender/include/BIF_toets.h | 4 ++++ source/blender/include/BIF_toolbox.h | 4 ++++ source/blender/include/BIF_usiblender.h | 4 ++++ source/blender/include/BIF_writeavicodec.h | 4 ++++ source/blender/include/BIF_writeimage.h | 4 ++++ source/blender/include/BIF_writemovie.h | 4 ++++ source/blender/include/BSE_buttons.h | 4 ++++ source/blender/include/BSE_drawimasel.h | 4 ++++ source/blender/include/BSE_drawipo.h | 4 ++++ source/blender/include/BSE_drawnla.h | 4 ++++ source/blender/include/BSE_drawoops.h | 4 ++++ source/blender/include/BSE_drawview.h | 4 ++++ source/blender/include/BSE_edit.h | 4 ++++ source/blender/include/BSE_editaction.h | 4 ++++ source/blender/include/BSE_editaction_types.h | 4 ++++ source/blender/include/BSE_editipo.h | 4 ++++ source/blender/include/BSE_editipo_types.h | 4 ++++ source/blender/include/BSE_editnla_types.h | 4 ++++ source/blender/include/BSE_filesel.h | 4 ++++ source/blender/include/BSE_headerbuttons.h | 4 ++++ source/blender/include/BSE_sequence.h | 4 ++++ source/blender/include/BSE_trans_types.h | 4 ++++ source/blender/include/BSE_types.h | 4 ++++ source/blender/include/BSE_view.h | 4 ++++ source/blender/include/LOD_DependKludge.h | 3 +++ source/blender/include/TPT_DependKludge.h | 3 +++ source/blender/include/blendef.h | 4 ++++ source/blender/include/datatoc.h | 4 ++++ source/blender/include/editlattice_ext.h | 4 ++++ source/blender/include/interface.h | 4 ++++ source/blender/include/ipo.h | 4 ++++ source/blender/include/keyed_functions.h | 3 +++ source/blender/include/license_key.h | 4 ++++ source/blender/include/mydevice.h | 4 +++- source/blender/include/nla.h | 4 ++++ source/blender/include/objfnt.h | 4 ++++ source/blender/include/particle_effect.h | 4 ++++ source/blender/include/playanim_ext.h | 4 ++++ source/blender/inflate/BLO_in_de_flateHeader.h | 4 ++++ source/blender/inflate/BLO_inflate.h | 4 ++++ source/blender/makesdna/DNA_ID.h | 4 ++++ source/blender/makesdna/DNA_action_types.h | 4 ++++ source/blender/makesdna/DNA_actuator_types.h | 4 ++++ source/blender/makesdna/DNA_armature_types.h | 5 ++++- source/blender/makesdna/DNA_camera_types.h | 4 ++++ source/blender/makesdna/DNA_constraint_types.h | 4 ++++ source/blender/makesdna/DNA_controller_types.h | 4 ++++ source/blender/makesdna/DNA_curve_types.h | 4 ++++ source/blender/makesdna/DNA_effect_types.h | 4 ++++ source/blender/makesdna/DNA_fileglobal_types.h | 4 ++++ source/blender/makesdna/DNA_group_types.h | 4 ++++ source/blender/makesdna/DNA_ika_types.h | 5 +++++ source/blender/makesdna/DNA_image_types.h | 4 ++++ source/blender/makesdna/DNA_ipo_types.h | 4 ++++ source/blender/makesdna/DNA_key_types.h | 4 ++++ source/blender/makesdna/DNA_lamp_types.h | 4 ++++ source/blender/makesdna/DNA_lattice_types.h | 4 ++++ source/blender/makesdna/DNA_listBase.h | 4 ++++ source/blender/makesdna/DNA_material_types.h | 4 ++++ source/blender/makesdna/DNA_mesh_types.h | 4 ++++ source/blender/makesdna/DNA_meta_types.h | 5 +++++ source/blender/makesdna/DNA_nla_types.h | 5 ++++- source/blender/makesdna/DNA_object_types.h | 4 ++++ source/blender/makesdna/DNA_oops_types.h | 4 ++++ source/blender/makesdna/DNA_packedFile_types.h | 4 ++++ source/blender/makesdna/DNA_property_types.h | 4 ++++ source/blender/makesdna/DNA_radio_types.h | 4 ++++ source/blender/makesdna/DNA_scene_types.h | 4 ++++ source/blender/makesdna/DNA_screen_types.h | 4 ++++ source/blender/makesdna/DNA_scriptlink_types.h | 4 ++++ source/blender/makesdna/DNA_sdna_types.h | 4 ++++ source/blender/makesdna/DNA_sensor_types.h | 4 ++++ source/blender/makesdna/DNA_sequence_types.h | 4 ++++ source/blender/makesdna/DNA_sound_types.h | 4 ++++ source/blender/makesdna/DNA_space_types.h | 4 ++++ source/blender/makesdna/DNA_text_types.h | 4 ++++ source/blender/makesdna/DNA_texture_types.h | 4 ++++ source/blender/makesdna/DNA_userdef_types.h | 4 ++++ source/blender/makesdna/DNA_vec_types.h | 4 ++++ source/blender/makesdna/DNA_vfont_types.h | 4 ++++ source/blender/makesdna/DNA_view2d_types.h | 4 ++++ source/blender/makesdna/DNA_view3d_types.h | 4 ++++ source/blender/makesdna/DNA_wave_types.h | 4 ++++ source/blender/makesdna/DNA_world_types.h | 4 ++++ source/blender/misc/blendertimer.h | 4 ++++ source/blender/radiosity/extern/include/radio.h | 4 ++++ source/blender/radiosity/extern/include/radio_types.h | 4 ++++ source/blender/readblenfile/BLO_readblenfile.h | 4 ++++ source/blender/readstreamglue/BLO_keyStore.h | 4 ++++ source/blender/readstreamglue/BLO_readStreamErrors.h | 4 ++++ source/blender/readstreamglue/BLO_readStreamGlue.h | 4 ++++ source/blender/readstreamglue/BLO_sys_types.h | 4 ++++ source/blender/readstreamglue/intern/BLO_keyStorePrivate.h | 4 ++++ .../readstreamglue/intern/BLO_readStreamGlueLoopBack.h | 4 ++++ source/blender/render/extern/include/render.h | 4 ++++ source/blender/render/extern/include/render_types.h | 4 ++++ .../blender/render/intern/include/RE_DummyShadowBuffer.h | 4 ++++ source/blender/render/intern/include/RE_ShadowBuffer.h | 4 ++++ .../blender/render/intern/include/RE_basicShadowBuffer.h | 4 ++++ source/blender/render/intern/include/RE_callbacks.h | 4 ++++ source/blender/render/intern/include/edgeRender.h | 5 +++++ source/blender/render/intern/include/envmap.h | 4 ++++ source/blender/render/intern/include/errorHandler.h | 4 ++++ .../blender/render/intern/include/gammaCorrectionTables.h | 3 +++ source/blender/render/intern/include/initrender.h | 4 ++++ source/blender/render/intern/include/jitter.h | 4 ++++ source/blender/render/intern/include/old_zbuffer_types.h | 4 ++++ source/blender/render/intern/include/outerRenderLoop.h | 4 ++++ source/blender/render/intern/include/pixelblending.h | 5 +++++ source/blender/render/intern/include/pixelblending_types.h | 4 ++++ source/blender/render/intern/include/pixelshading.h | 4 ++++ source/blender/render/intern/include/renderHelp.h | 4 ++++ source/blender/render/intern/include/renderPreAndPost.h | 4 ++++ source/blender/render/intern/include/render_intern.h | 4 ++++ source/blender/render/intern/include/rendercore.h | 4 ++++ source/blender/render/intern/include/rendercore_int.h | 4 ++++ source/blender/render/intern/include/shadbuf.h | 4 ++++ source/blender/render/intern/include/shadowBuffer.h | 4 ++++ source/blender/render/intern/include/texture.h | 4 ++++ source/blender/render/intern/include/vanillaRenderPipe.h | 4 ++++ .../blender/render/intern/include/vanillaRenderPipe_int.h | 4 ++++ .../render/intern/include/vanillaRenderPipe_types.h | 4 ++++ source/blender/render/intern/include/zbuf.h | 4 ++++ source/blender/render/intern/include/zbuf_int.h | 4 +++- source/blender/render/intern/include/zbuf_types.h | 4 ++++ source/blender/render/intern/include/zbufferdatastruct.h | 4 ++++ .../render/intern/include/zbufferdatastruct_types.h | 4 ++++ source/blender/renderconverter/RE_renderconverter.h | 4 ++++ source/blender/sign/BLO_sign.h | 4 ++++ source/blender/src/winlay.h | 5 +++++ source/blender/verify/BLO_sign_verify_Header.h | 4 ++++ source/blender/verify/BLO_signer_info.h | 4 ++++ source/blender/verify/BLO_verify.h | 4 ++++ source/blender/writeblenfile/BLO_writeblenfile.h | 4 ++++ source/blender/writestreamglue/BLO_getPubKey.h | 5 +++++ source/blender/writestreamglue/BLO_writeStreamErrors.h | 4 ++++ source/blender/writestreamglue/BLO_writeStreamGlue.h | 4 ++++ source/blender/writestreamglue/intern/BLO_dumpFromMemory.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderCanvas.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderGL.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h | 4 ++++ .../gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h | 4 ++++ source/gameengine/BlenderRoutines/KX_BlenderSystem.h | 4 ++++ source/gameengine/Converter/BL_ActionActuator.h | 4 ++++ source/gameengine/Converter/BL_ArmatureObject.h | 4 ++++ source/gameengine/Converter/BL_BlenderDataConversion.h | 4 ++++ source/gameengine/Converter/BL_DeformableGameObject.h | 4 ++++ source/gameengine/Converter/BL_MeshDeformer.h | 4 ++++ source/gameengine/Converter/BL_SkinDeformer.h | 4 ++++ source/gameengine/Converter/BL_SkinMeshObject.h | 4 ++++ source/gameengine/Converter/BlenderWorldInfo.h | 3 +++ source/gameengine/Converter/KX_BlenderScalarInterpolator.h | 4 ++++ source/gameengine/Converter/KX_BlenderSceneConverter.h | 4 ++++ source/gameengine/Converter/KX_ConvertActuators.h | 4 ++++ source/gameengine/Converter/KX_ConvertControllers.h | 4 ++++ source/gameengine/Converter/KX_ConvertProperties.h | 4 ++++ source/gameengine/Converter/KX_ConvertSensors.h | 4 ++++ source/gameengine/Converter/KX_IpoConvert.h | 4 ++++ source/gameengine/Expressions/BoolValue.h | 4 ++++ source/gameengine/Expressions/ConstExpr.h | 4 ++++ source/gameengine/Expressions/EXP_C-Api.h | 3 +++ source/gameengine/Expressions/EmptyValue.h | 4 ++++ source/gameengine/Expressions/ErrorValue.h | 4 ++++ source/gameengine/Expressions/Expression.h | 4 ++++ source/gameengine/Expressions/FloatValue.h | 3 +++ source/gameengine/Expressions/IdentifierExpr.h | 4 ++++ source/gameengine/Expressions/IfExpr.h | 4 ++++ source/gameengine/Expressions/InputParser.h | 4 ++++ source/gameengine/Expressions/IntValue.h | 3 +++ source/gameengine/Expressions/KX_HashedPtr.h | 4 ++++ source/gameengine/Expressions/KX_Python.h | 4 ++++ source/gameengine/Expressions/KX_Python_dynamic.h | 4 ++++ source/gameengine/Expressions/KX_Python_static.h | 4 ++++ source/gameengine/Expressions/ListValue.h | 3 +++ source/gameengine/Expressions/Operator1Expr.h | 6 ++++-- source/gameengine/Expressions/Operator2Expr.h | 4 ++++ source/gameengine/Expressions/PyObjectPlus.h | 5 +++++ source/gameengine/Expressions/StringValue.h | 4 ++++ source/gameengine/Expressions/Value.h | 4 ++++ source/gameengine/Expressions/VectorValue.h | 3 +++ source/gameengine/Expressions/VoidValue.h | 4 ++++ source/gameengine/GameLogic/SCA_ANDController.h | 4 ++++ source/gameengine/GameLogic/SCA_AlwaysEventManager.h | 5 +++++ source/gameengine/GameLogic/SCA_AlwaysSensor.h | 3 +++ source/gameengine/GameLogic/SCA_EventManager.h | 4 ++++ source/gameengine/GameLogic/SCA_ExpressionController.h | 4 ++++ source/gameengine/GameLogic/SCA_IActuator.h | 4 ++++ source/gameengine/GameLogic/SCA_IController.h | 4 ++++ source/gameengine/GameLogic/SCA_IInputDevice.h | 3 +++ source/gameengine/GameLogic/SCA_ILogicBrick.h | 5 +++++ source/gameengine/GameLogic/SCA_IObject.h | 4 ++++ source/gameengine/GameLogic/SCA_IScene.h | 4 ++++ source/gameengine/GameLogic/SCA_ISensor.h | 4 +++- source/gameengine/GameLogic/SCA_KeyboardManager.h | 4 ++++ source/gameengine/GameLogic/SCA_KeyboardSensor.h | 4 ++++ source/gameengine/GameLogic/SCA_LogicManager.h | 4 ++++ source/gameengine/GameLogic/SCA_MouseManager.h | 4 ++++ source/gameengine/GameLogic/SCA_MouseSensor.h | 4 ++++ source/gameengine/GameLogic/SCA_ORController.h | 4 ++++ source/gameengine/GameLogic/SCA_PropertyActuator.h | 4 ++++ source/gameengine/GameLogic/SCA_PropertyEventManager.h | 5 +++++ source/gameengine/GameLogic/SCA_PropertySensor.h | 4 ++++ source/gameengine/GameLogic/SCA_PythonController.h | 4 ++++ source/gameengine/GameLogic/SCA_RandomActuator.h | 4 ++++ source/gameengine/GameLogic/SCA_RandomEventManager.h | 4 ++++ source/gameengine/GameLogic/SCA_RandomNumberGenerator.h | 3 +++ source/gameengine/GameLogic/SCA_RandomSensor.h | 4 ++++ source/gameengine/GameLogic/SCA_TimeEventManager.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_Canvas.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_Engine.h | 3 +++ source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_MouseDevice.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_RawImage.h | 4 ++++ .../GamePlayer/common/GPC_RawLoadDotBlendArray.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h | 3 +++ source/gameengine/GamePlayer/common/GPC_RenderTools.h | 4 ++++ source/gameengine/GamePlayer/common/GPC_System.h | 4 ++++ source/gameengine/GamePlayer/common/unix/GPU_Canvas.h | 4 ++++ source/gameengine/GamePlayer/common/unix/GPU_Engine.h | 5 ++++- .../gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h | 4 ++++ .../GamePlayer/common/unix/GPU_PolygonMaterial.h | 3 +++ source/gameengine/GamePlayer/common/unix/GPU_System.h | 4 +++- source/gameengine/GamePlayer/common/windows/GPW_Canvas.h | 4 ++++ source/gameengine/GamePlayer/common/windows/GPW_Engine.h | 4 +++- .../GamePlayer/common/windows/GPW_KeyboardDevice.h | 5 ++++- source/gameengine/GamePlayer/common/windows/GPW_System.h | 4 ++++ source/gameengine/GamePlayer/ghost/GPG_Application.h | 5 ++++- source/gameengine/GamePlayer/ghost/GPG_Canvas.h | 4 ++++ source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h | 4 ++++ source/gameengine/GamePlayer/ghost/GPG_System.h | 4 ++++ .../gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h | 4 ++++ .../Ketsji/KXNetwork/KX_NetworkMessageActuator.h | 6 ++++-- .../gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h | 4 ++++ .../gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h | 4 ++++ .../gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h | 4 ++++ source/gameengine/Ketsji/KX_CDActuator.h | 3 +++ source/gameengine/Ketsji/KX_Camera.h | 4 ++++ source/gameengine/Ketsji/KX_CameraActuator.h | 4 ++++ source/gameengine/Ketsji/KX_CameraIpoSGController.h | 4 ++++ source/gameengine/Ketsji/KX_ClientObjectInfo.h | 4 ++++ source/gameengine/Ketsji/KX_ConstraintActuator.h | 4 ++++ source/gameengine/Ketsji/KX_ConstraintWrapper.h | 4 ++++ source/gameengine/Ketsji/KX_ConvertPhysicsObject.h | 3 +++ source/gameengine/Ketsji/KX_EmptyObject.h | 4 ++++ source/gameengine/Ketsji/KX_GameActuator.h | 4 ++++ source/gameengine/Ketsji/KX_GameObject.h | 4 ++++ source/gameengine/Ketsji/KX_IInterpolator.h | 4 ++++ source/gameengine/Ketsji/KX_IPOTransform.h | 4 ++++ source/gameengine/Ketsji/KX_IPO_SGController.h | 4 ++++ source/gameengine/Ketsji/KX_IPhysicsController.h | 4 ++++ source/gameengine/Ketsji/KX_IScalarInterpolator.h | 4 ++++ source/gameengine/Ketsji/KX_ISceneConverter.h | 4 ++++ source/gameengine/Ketsji/KX_ISystem.h | 4 ++++ source/gameengine/Ketsji/KX_IpoActuator.h | 4 ++++ source/gameengine/Ketsji/KX_KetsjiEngine.h | 4 ++++ source/gameengine/Ketsji/KX_Light.h | 4 ++++ source/gameengine/Ketsji/KX_LightIpoSGController.h | 4 ++++ source/gameengine/Ketsji/KX_MeshProxy.h | 4 ++++ source/gameengine/Ketsji/KX_MotionState.h | 4 ++++ source/gameengine/Ketsji/KX_MouseFocusSensor.h | 4 ++++ source/gameengine/Ketsji/KX_NearSensor.h | 5 +++++ source/gameengine/Ketsji/KX_ObColorIpoSGController.h | 3 +++ source/gameengine/Ketsji/KX_ObjectActuator.h | 3 +++ source/gameengine/Ketsji/KX_OdePhysicsController.h | 3 +++ source/gameengine/Ketsji/KX_OrientationInterpolator.h | 4 ++++ source/gameengine/Ketsji/KX_PhysicsEngineEnums.h | 4 ++++ source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h | 4 ++++ source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h | 4 ++++ source/gameengine/Ketsji/KX_PositionInterpolator.h | 4 ++++ source/gameengine/Ketsji/KX_PyConstraintBinding.h | 4 +++- source/gameengine/Ketsji/KX_PythonInit.h | 4 ++++ source/gameengine/Ketsji/KX_RadarSensor.h | 4 ++++ source/gameengine/Ketsji/KX_RayEventManager.h | 5 +++++ source/gameengine/Ketsji/KX_RaySensor.h | 4 ++++ source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h | 4 ++++ source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h | 4 ++++ source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h | 4 ++++ source/gameengine/Ketsji/KX_SG_NodeRelationships.h | 3 +++ source/gameengine/Ketsji/KX_ScalarInterpolator.h | 4 ++++ source/gameengine/Ketsji/KX_ScalingInterpolator.h | 4 ++++ source/gameengine/Ketsji/KX_Scene.h | 4 ++++ source/gameengine/Ketsji/KX_SceneActuator.h | 4 ++++ source/gameengine/Ketsji/KX_SoundActuator.h | 4 ++++ source/gameengine/Ketsji/KX_SumoPhysicsController.h | 4 ++++ source/gameengine/Ketsji/KX_TimeCategoryLogger.h | 4 ++++ source/gameengine/Ketsji/KX_TimeLogger.h | 4 ++++ source/gameengine/Ketsji/KX_TouchEventManager.h | 4 ++++ source/gameengine/Ketsji/KX_TouchSensor.h | 4 ++++ source/gameengine/Ketsji/KX_TrackToActuator.h | 4 ++++ source/gameengine/Ketsji/KX_VertexProxy.h | 4 ++++ source/gameengine/Ketsji/KX_VisibilityActuator.h | 4 ++++ source/gameengine/Ketsji/KX_WorldInfo.h | 3 +++ source/gameengine/Ketsji/KX_WorldIpoController.h | 4 ++++ .../LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h | 4 ++++ source/gameengine/Network/NG_NetworkDeviceInterface.h | 5 ++++- source/gameengine/Network/NG_NetworkMessage.h | 4 ++++ source/gameengine/Network/NG_NetworkObject.h | 4 ++++ source/gameengine/Network/NG_NetworkScene.h | 5 +++++ .../TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h | 6 ++++-- source/gameengine/Physics/BlOde/OdePhysicsController.h | 4 ++++ source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h | 4 ++++ source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h | 5 ++++- .../gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h | 4 ++++ .../Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h | 4 ++++ .../gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h | 4 ++++ .../Physics/Sumo/Fuzzics/include/SM_MotionState.h | 4 ++++ source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h | 3 +++ source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h | 4 ++++ source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h | 4 ++++ source/gameengine/Physics/Sumo/SumoPhysicsController.h | 4 +++- source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h | 6 ++++-- source/gameengine/Physics/Sumo/include/interpolator.h | 4 ++++ source/gameengine/Physics/Sumo/include/solid.h | 4 ++++ source/gameengine/Physics/Sumo/include/solid_broadphase.h | 4 ++++ source/gameengine/Physics/Sumo/include/solid_types.h | 4 ++++ source/gameengine/Physics/common/PHY_DynamicTypes.h | 4 ++++ source/gameengine/Physics/common/PHY_IMotionState.h | 3 +++ source/gameengine/Physics/common/PHY_IPhysicsController.h | 4 ++++ source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h | 3 +++ source/gameengine/Physics/common/PHY_Pro.h | 4 ++++ source/gameengine/Rasterizer/RAS_BucketManager.h | 4 ++++ source/gameengine/Rasterizer/RAS_CameraData.h | 4 ++++ source/gameengine/Rasterizer/RAS_Deformer.h | 4 ++++ source/gameengine/Rasterizer/RAS_FramingManager.h | 4 ++++ source/gameengine/Rasterizer/RAS_ICanvas.h | 4 ++++ source/gameengine/Rasterizer/RAS_IPolygonMaterial.h | 3 +++ source/gameengine/Rasterizer/RAS_IRasterizer.h | 4 ++++ source/gameengine/Rasterizer/RAS_IRenderTools.h | 5 ++++- source/gameengine/Rasterizer/RAS_LightObject.h | 4 ++++ source/gameengine/Rasterizer/RAS_MaterialBucket.h | 4 ++++ source/gameengine/Rasterizer/RAS_MeshObject.h | 3 +++ source/gameengine/Rasterizer/RAS_ObjectColor.h | 4 ++++ .../RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h | 4 ++++ .../Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h | 4 ++++ .../RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h | 4 ++++ source/gameengine/Rasterizer/RAS_Polygon.h | 4 ++++ source/gameengine/Rasterizer/RAS_Rect.h | 3 +++ source/gameengine/Rasterizer/RAS_TexMatrix.h | 7 ++++--- source/gameengine/Rasterizer/RAS_TexVert.h | 3 +++ source/gameengine/SceneGraph/SG_Controller.h | 6 +++++- source/gameengine/SceneGraph/SG_IObject.h | 3 +++ source/gameengine/SceneGraph/SG_Node.h | 5 ++++- source/gameengine/SceneGraph/SG_ParentRelation.h | 4 ++++ source/gameengine/SceneGraph/SG_Spatial.h | 5 ++++- source/kernel/gen_messaging/GEN_messaging.h | 3 +++ source/kernel/gen_system/GEN_DataCache.h | 4 ++++ source/kernel/gen_system/GEN_HashedPtr.h | 4 ++++ source/kernel/gen_system/GEN_Map.h | 4 ++++ source/kernel/gen_system/GEN_Matrix4x4.h | 4 ++++ source/kernel/gen_system/GEN_SmartPtr.h | 4 ++++ source/kernel/gen_system/SYS_SingletonSystem.h | 4 ++++ source/kernel/gen_system/SYS_System.h | 4 ++++ 555 files changed, 2210 insertions(+), 29 deletions(-) diff --git a/intern/SoundSystem/SND_C-api.h b/intern/SoundSystem/SND_C-api.h index 03470f7e998..123759f9063 100644 --- a/intern/SoundSystem/SND_C-api.h +++ b/intern/SoundSystem/SND_C-api.h @@ -32,6 +32,10 @@ #ifndef SND_BLENDER_H #define SND_BLENDER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/intern/SoundSystem/SND_CDObject.h b/intern/SoundSystem/SND_CDObject.h index 5af2005d34a..2ba03ebb466 100644 --- a/intern/SoundSystem/SND_CDObject.h +++ b/intern/SoundSystem/SND_CDObject.h @@ -39,6 +39,10 @@ #include "SND_Object.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_CDObject : public SND_Object { private: diff --git a/intern/SoundSystem/SND_DependKludge.h b/intern/SoundSystem/SND_DependKludge.h index 545f7f45b9a..05ab4685a75 100644 --- a/intern/SoundSystem/SND_DependKludge.h +++ b/intern/SoundSystem/SND_DependKludge.h @@ -34,6 +34,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif #if defined (_WIN32) #define USE_FMOD diff --git a/intern/SoundSystem/SND_DeviceManager.h b/intern/SoundSystem/SND_DeviceManager.h index acb28fe3bf6..a331d1e47e3 100644 --- a/intern/SoundSystem/SND_DeviceManager.h +++ b/intern/SoundSystem/SND_DeviceManager.h @@ -39,6 +39,10 @@ #include "SND_IAudioDevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_DeviceManager { public : diff --git a/intern/SoundSystem/SND_IAudioDevice.h b/intern/SoundSystem/SND_IAudioDevice.h index 11754ed8d55..4c73e585b9d 100644 --- a/intern/SoundSystem/SND_IAudioDevice.h +++ b/intern/SoundSystem/SND_IAudioDevice.h @@ -38,6 +38,9 @@ #include "SND_WaveSlot.h" #include "MT_Matrix3x3.h" +#ifdef HAVE_CONFIG_H +#include +#endif class SND_IAudioDevice { diff --git a/intern/SoundSystem/SND_Object.h b/intern/SoundSystem/SND_Object.h index b67ae3ee396..7a5e118fe47 100644 --- a/intern/SoundSystem/SND_Object.h +++ b/intern/SoundSystem/SND_Object.h @@ -41,6 +41,10 @@ #include "MT_Matrix3x3.h" #include "SoundDefines.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * SND_Object is an interface class for soundobjects, listeners and other * kinds of sound related thingies. diff --git a/intern/SoundSystem/SND_Scene.h b/intern/SoundSystem/SND_Scene.h index 49cb40de714..cc835e6b0c7 100644 --- a/intern/SoundSystem/SND_Scene.h +++ b/intern/SoundSystem/SND_Scene.h @@ -34,6 +34,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/intern/SoundSystem/SND_SoundListener.h b/intern/SoundSystem/SND_SoundListener.h index 4b51758252e..0349ad2b176 100644 --- a/intern/SoundSystem/SND_SoundListener.h +++ b/intern/SoundSystem/SND_SoundListener.h @@ -39,6 +39,10 @@ #include "SND_Object.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_SoundListener : public SND_Object { diff --git a/intern/SoundSystem/SND_SoundObject.h b/intern/SoundSystem/SND_SoundObject.h index 6d827090d33..ac8d7b87c7b 100644 --- a/intern/SoundSystem/SND_SoundObject.h +++ b/intern/SoundSystem/SND_SoundObject.h @@ -40,6 +40,9 @@ #include "SND_Object.h" #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif /** * SND_SoundObject is a class for api independent sounddata storage conected to an actuator diff --git a/intern/SoundSystem/SND_Utils.h b/intern/SoundSystem/SND_Utils.h index de36065c48f..6b2cc2b36c1 100644 --- a/intern/SoundSystem/SND_Utils.h +++ b/intern/SoundSystem/SND_Utils.h @@ -34,6 +34,10 @@ #include "SND_WaveSlot.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { diff --git a/intern/SoundSystem/SND_WaveCache.h b/intern/SoundSystem/SND_WaveCache.h index 1a6445be966..fed2bdb171a 100644 --- a/intern/SoundSystem/SND_WaveCache.h +++ b/intern/SoundSystem/SND_WaveCache.h @@ -34,6 +34,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/intern/SoundSystem/SND_WaveSlot.h b/intern/SoundSystem/SND_WaveSlot.h index bc92829d3d3..2f3ce8e092b 100644 --- a/intern/SoundSystem/SND_WaveSlot.h +++ b/intern/SoundSystem/SND_WaveSlot.h @@ -39,6 +39,10 @@ #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_WaveSlot { STR_String m_samplename; diff --git a/intern/SoundSystem/SoundDefines.h b/intern/SoundSystem/SoundDefines.h index f7a3a3c6619..d85db5ca500 100644 --- a/intern/SoundSystem/SoundDefines.h +++ b/intern/SoundSystem/SoundDefines.h @@ -37,6 +37,10 @@ #ifndef __SOUNDDEFINES_H #define __SOUNDDEFINES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* the types of devices */ enum { diff --git a/intern/SoundSystem/dummy/SND_DummyDevice.h b/intern/SoundSystem/dummy/SND_DummyDevice.h index 6dff52d40d5..55b764beb3e 100644 --- a/intern/SoundSystem/dummy/SND_DummyDevice.h +++ b/intern/SoundSystem/dummy/SND_DummyDevice.h @@ -34,6 +34,10 @@ #include "SND_AudioDevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_DummyDevice : public SND_AudioDevice { public: diff --git a/intern/SoundSystem/fmod/SND_FmodDevice.h b/intern/SoundSystem/fmod/SND_FmodDevice.h index d44cfb9d937..e8327ba706f 100644 --- a/intern/SoundSystem/fmod/SND_FmodDevice.h +++ b/intern/SoundSystem/fmod/SND_FmodDevice.h @@ -36,6 +36,10 @@ #include "SND_AudioDevice.h" #include "SoundDefines.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_FmodDevice : public SND_AudioDevice { public: diff --git a/intern/SoundSystem/intern/SND_AudioDevice.h b/intern/SoundSystem/intern/SND_AudioDevice.h index 13b26770bde..59d4262bb62 100644 --- a/intern/SoundSystem/intern/SND_AudioDevice.h +++ b/intern/SoundSystem/intern/SND_AudioDevice.h @@ -36,6 +36,9 @@ #include "SoundDefines.h" #include "SND_IdObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif class SND_AudioDevice : public SND_IAudioDevice { diff --git a/intern/SoundSystem/intern/SND_IdObject.h b/intern/SoundSystem/intern/SND_IdObject.h index fc9608b97bf..a32766481a5 100644 --- a/intern/SoundSystem/intern/SND_IdObject.h +++ b/intern/SoundSystem/intern/SND_IdObject.h @@ -41,6 +41,10 @@ #include "GEN_List.h" #include "SoundDefines.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_IdObject : public GEN_Link { SND_SoundObject* m_soundObject; diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.h b/intern/SoundSystem/openal/SND_OpenALDevice.h index ad7cbe68a19..6eb6a37a27c 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.h +++ b/intern/SoundSystem/openal/SND_OpenALDevice.h @@ -35,6 +35,10 @@ #include "SND_AudioDevice.h" #include "SoundDefines.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SND_OpenALDevice : public SND_AudioDevice { public: diff --git a/source/blender/avi/AVI_avi.h b/source/blender/avi/AVI_avi.h index 76442d9d55e..63ae93411de 100644 --- a/source/blender/avi/AVI_avi.h +++ b/source/blender/avi/AVI_avi.h @@ -56,6 +56,10 @@ #include /* for FILE */ +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct _AviChunk { int fcc; int size; diff --git a/source/blender/avi/intern/avi_intern.h b/source/blender/avi/intern/avi_intern.h index 189072eba8d..cba06f0d710 100644 --- a/source/blender/avi/intern/avi_intern.h +++ b/source/blender/avi/intern/avi_intern.h @@ -34,6 +34,10 @@ #include /* for FILE */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MEM_guardedalloc.h" unsigned int GET_FCC (FILE *fp); diff --git a/source/blender/avi/intern/avirgb.h b/source/blender/avi/intern/avirgb.h index 26765d4d6e2..110ffd6be61 100644 --- a/source/blender/avi/intern/avirgb.h +++ b/source/blender/avi/intern/avirgb.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + void *avi_converter_from_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size); void *avi_converter_to_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size); diff --git a/source/blender/avi/intern/endian.h b/source/blender/avi/intern/endian.h index 907069c1f87..133b397dbbf 100644 --- a/source/blender/avi/intern/endian.h +++ b/source/blender/avi/intern/endian.h @@ -40,6 +40,10 @@ #include #include "AVI_avi.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #define AVI_RAW 0 #define AVI_CHUNK 1 #define AVI_LIST 2 diff --git a/source/blender/avi/intern/mjpeg.h b/source/blender/avi/intern/mjpeg.h index 37fd43657cb..c397d5e0e74 100644 --- a/source/blender/avi/intern/mjpeg.h +++ b/source/blender/avi/intern/mjpeg.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + void *avi_converter_from_mjpeg (AviMovie *movie, int stream, unsigned char *buffer, int *size); void *avi_converter_to_mjpeg (AviMovie *movie, int stream, unsigned char *buffer, int *size); diff --git a/source/blender/avi/intern/rgb32.h b/source/blender/avi/intern/rgb32.h index e0d1ddb725f..b35b7cfeb0a 100644 --- a/source/blender/avi/intern/rgb32.h +++ b/source/blender/avi/intern/rgb32.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + void *avi_converter_from_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size); void *avi_converter_to_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size); diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index 50a025c5356..822d2ac7a92 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -40,6 +40,10 @@ #include "DNA_listBase.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * The following structures are defined in DNA_action_types.h */ diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h index 7fabacd48ee..d7ba1d1f391 100644 --- a/source/blender/blenkernel/BKE_armature.h +++ b/source/blender/blenkernel/BKE_armature.h @@ -34,6 +34,10 @@ #ifndef BKE_ARMATURE_H #define BKE_ARMATURE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Bone; struct Main; struct bArmature; diff --git a/source/blender/blenkernel/BKE_bad_level_calls.h b/source/blender/blenkernel/BKE_bad_level_calls.h index 420a915adf6..9d574070809 100644 --- a/source/blender/blenkernel/BKE_bad_level_calls.h +++ b/source/blender/blenkernel/BKE_bad_level_calls.h @@ -37,6 +37,10 @@ #ifndef BKE_BAD_LEVEL_CALLS_H #define BKE_BAD_LEVEL_CALLS_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* readfile.c */ struct PluginSeq; void open_plugin_seq(struct PluginSeq *pis, char *seqname); diff --git a/source/blender/blenkernel/BKE_blender.h b/source/blender/blenkernel/BKE_blender.h index 63e25e289c8..04325de3888 100644 --- a/source/blender/blenkernel/BKE_blender.h +++ b/source/blender/blenkernel/BKE_blender.h @@ -36,6 +36,11 @@ #ifndef BKE_BLENDER_H #define BKE_BLENDER_H +#ifdef HAVE_CONFIG_H +#include +#endif + + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenkernel/BKE_bmfont.h b/source/blender/blenkernel/BKE_bmfont.h index 0d42b673769..98398a05af7 100644 --- a/source/blender/blenkernel/BKE_bmfont.h +++ b/source/blender/blenkernel/BKE_bmfont.h @@ -36,6 +36,10 @@ #ifndef BKE_BMFONT_H #define BKE_BMFONT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenkernel/BKE_bmfont_types.h b/source/blender/blenkernel/BKE_bmfont_types.h index a3bb43b5ca8..c6387a8abe9 100644 --- a/source/blender/blenkernel/BKE_bmfont_types.h +++ b/source/blender/blenkernel/BKE_bmfont_types.h @@ -36,6 +36,10 @@ #ifndef BKE_BMFONT_TYPES_H #define BKE_BMFONT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define is_power_of_two(N) ((N ^ (N - 1)) == (2 * N - 1)) /* Moved to IMB_imbuf_types.h where it will live close to the ImBuf type. diff --git a/source/blender/blenkernel/BKE_booleanops.h b/source/blender/blenkernel/BKE_booleanops.h index fe5e5cdb68f..b28cbdff673 100644 --- a/source/blender/blenkernel/BKE_booleanops.h +++ b/source/blender/blenkernel/BKE_booleanops.h @@ -32,6 +32,9 @@ #ifndef BKE_BOOLEANOPS_H #define BKE_BOOLEANOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif struct Mesh; struct Object; diff --git a/source/blender/blenkernel/BKE_booleanops_mesh.h b/source/blender/blenkernel/BKE_booleanops_mesh.h index 7b0e703da04..3cb1b17f123 100644 --- a/source/blender/blenkernel/BKE_booleanops_mesh.h +++ b/source/blender/blenkernel/BKE_booleanops_mesh.h @@ -34,6 +34,10 @@ #include "CSG_BooleanOps.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Internal mesh structure. * Safe to copy by value... hopefully. diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index 8da92f85c89..3cd1c659c9b 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -33,6 +33,10 @@ #ifndef BKE_CONSTRAINT_H #define BKE_CONSTRAINT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bConstraint; struct Object; struct ListBase; diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index d0a9c1e5c6a..7853301c045 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -34,6 +34,10 @@ #ifndef BKE_CURVE_H #define BKE_CURVE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Curve; struct ListBase; struct Object; diff --git a/source/blender/blenkernel/BKE_deform.h b/source/blender/blenkernel/BKE_deform.h index e7494f28fc4..dbe17c9bb7b 100644 --- a/source/blender/blenkernel/BKE_deform.h +++ b/source/blender/blenkernel/BKE_deform.h @@ -38,6 +38,10 @@ #ifndef BKE_DEFORM_H #define BKE_DEFORM_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct ListBase; struct bDeformGroup; diff --git a/source/blender/blenkernel/BKE_displist.h b/source/blender/blenkernel/BKE_displist.h index 77e1c25f6cb..7c6df35cdc7 100644 --- a/source/blender/blenkernel/BKE_displist.h +++ b/source/blender/blenkernel/BKE_displist.h @@ -35,6 +35,9 @@ #ifndef BKE_DISPLIST_H #define BKE_DISPLIST_H +#ifdef HAVE_CONFIG_H +#include +#endif #define DL_POLY 0 #define DL_SEGM 1 diff --git a/source/blender/blenkernel/BKE_effect.h b/source/blender/blenkernel/BKE_effect.h index cb3abf9d182..08fde218c61 100644 --- a/source/blender/blenkernel/BKE_effect.h +++ b/source/blender/blenkernel/BKE_effect.h @@ -34,6 +34,10 @@ #ifndef BKE_EFFECT_H #define BKE_EFFECT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Effect; struct ListBase; struct Object; diff --git a/source/blender/blenkernel/BKE_endian.h b/source/blender/blenkernel/BKE_endian.h index 11d39a2ecb6..9503fd4de69 100644 --- a/source/blender/blenkernel/BKE_endian.h +++ b/source/blender/blenkernel/BKE_endian.h @@ -34,6 +34,10 @@ #ifndef BKE_ENDIAN_H #define BKE_ENDIAN_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define BKE_ENDIANNESS(a) { \ union { \ long l; \ diff --git a/source/blender/blenkernel/BKE_exotic.h b/source/blender/blenkernel/BKE_exotic.h index a17e9954bc1..d67fbf85558 100644 --- a/source/blender/blenkernel/BKE_exotic.h +++ b/source/blender/blenkernel/BKE_exotic.h @@ -34,6 +34,10 @@ #ifndef BKE_EXOTIC_H #define BKE_EXOTIC_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Mesh; void mcol_to_rgba(unsigned int col, float *r, float *g, float *b, float *a); diff --git a/source/blender/blenkernel/BKE_font.h b/source/blender/blenkernel/BKE_font.h index 2f923315aaf..8bad7687499 100644 --- a/source/blender/blenkernel/BKE_font.h +++ b/source/blender/blenkernel/BKE_font.h @@ -34,6 +34,10 @@ #ifndef BKE_VFONT_H #define BKE_VFONT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct VFont; struct Object; struct Curve; diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index 27546a7b9a2..bd84f3b7980 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -38,6 +38,10 @@ #ifndef BKE_GLOBAL_H #define BKE_GLOBAL_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #ifdef __cplusplus diff --git a/source/blender/blenkernel/BKE_group.h b/source/blender/blenkernel/BKE_group.h index d90811ac10c..f73c18fd1f1 100644 --- a/source/blender/blenkernel/BKE_group.h +++ b/source/blender/blenkernel/BKE_group.h @@ -33,6 +33,11 @@ */ #ifndef BKE_GROUP_H #define BKE_GROUP_H + +#ifdef HAVE_CONFIG_H +#include +#endif + struct Group; struct GroupKey; struct GroupObject; diff --git a/source/blender/blenkernel/BKE_ika.h b/source/blender/blenkernel/BKE_ika.h index 93856c31374..d962fe8552e 100644 --- a/source/blender/blenkernel/BKE_ika.h +++ b/source/blender/blenkernel/BKE_ika.h @@ -34,6 +34,10 @@ #ifndef BKE_IKA_H #define BKE_IKA_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Ika; struct Limb; struct Object; diff --git a/source/blender/blenkernel/BKE_image.h b/source/blender/blenkernel/BKE_image.h index fd278aa5329..2c34bf2041a 100644 --- a/source/blender/blenkernel/BKE_image.h +++ b/source/blender/blenkernel/BKE_image.h @@ -34,6 +34,10 @@ #ifndef BKE_IMAGE_H #define BKE_IMAGE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenkernel/BKE_ipo.h b/source/blender/blenkernel/BKE_ipo.h index c25163063cc..8826d7fa042 100644 --- a/source/blender/blenkernel/BKE_ipo.h +++ b/source/blender/blenkernel/BKE_ipo.h @@ -34,6 +34,10 @@ #ifndef BKE_IPO_H #define BKE_IPO_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct CfraElem { struct CfraElem *next, *prev; float cfra; diff --git a/source/blender/blenkernel/BKE_key.h b/source/blender/blenkernel/BKE_key.h index 481c08cee69..94269c4482c 100644 --- a/source/blender/blenkernel/BKE_key.h +++ b/source/blender/blenkernel/BKE_key.h @@ -34,6 +34,10 @@ #ifndef BKE_KEY_H #define BKE_KEY_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Key; struct KeyBlock; struct ID; diff --git a/source/blender/blenkernel/BKE_lattice.h b/source/blender/blenkernel/BKE_lattice.h index 98bc5a53537..68df2663943 100644 --- a/source/blender/blenkernel/BKE_lattice.h +++ b/source/blender/blenkernel/BKE_lattice.h @@ -34,6 +34,10 @@ #ifndef BKE_LATTICE_H #define BKE_LATTICE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Lattice; struct Object; struct BPoint; diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h index 0331afe580b..910feb75e4e 100644 --- a/source/blender/blenkernel/BKE_library.h +++ b/source/blender/blenkernel/BKE_library.h @@ -36,6 +36,10 @@ #ifndef BKE_LIBRARY_TYPES_H #define BKE_LIBRARY_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ListBase; struct ID; struct Main; diff --git a/source/blender/blenkernel/BKE_main.h b/source/blender/blenkernel/BKE_main.h index 9afe75898c7..1b0320a4f16 100644 --- a/source/blender/blenkernel/BKE_main.h +++ b/source/blender/blenkernel/BKE_main.h @@ -41,6 +41,10 @@ #ifndef BKE_MAIN_H #define BKE_MAIN_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" struct Library; diff --git a/source/blender/blenkernel/BKE_material.h b/source/blender/blenkernel/BKE_material.h index fcdbed10ffa..cd4fc3d4474 100644 --- a/source/blender/blenkernel/BKE_material.h +++ b/source/blender/blenkernel/BKE_material.h @@ -34,6 +34,10 @@ #ifndef BKE_MATERIAL_H #define BKE_MATERIAL_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenkernel/BKE_mball.h b/source/blender/blenkernel/BKE_mball.h index b722e84a550..d9f860f7100 100644 --- a/source/blender/blenkernel/BKE_mball.h +++ b/source/blender/blenkernel/BKE_mball.h @@ -34,6 +34,10 @@ #ifndef BKE_MBALL_H #define BKE_MBALL_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct MetaBall; struct Object; struct MetaElem; diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index fa1b5b16b1e..07681a15bb1 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -34,6 +34,10 @@ #ifndef BKE_MESH_H #define BKE_MESH_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* texflag */ #define AUTOSPACE 1 diff --git a/source/blender/blenkernel/BKE_nla.h b/source/blender/blenkernel/BKE_nla.h index 9ac6b6ff3af..57166968131 100644 --- a/source/blender/blenkernel/BKE_nla.h +++ b/source/blender/blenkernel/BKE_nla.h @@ -33,6 +33,10 @@ #ifndef BKE_NLA_H #define BKE_NLA_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bActionStrip; struct ListBase; diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index fc878140125..dd01488151d 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -34,6 +34,10 @@ #ifndef BKE_OBJECT_H #define BKE_OBJECT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenkernel/BKE_osa_types.h b/source/blender/blenkernel/BKE_osa_types.h index 32f91dd3ff7..c3a6ab63aeb 100644 --- a/source/blender/blenkernel/BKE_osa_types.h +++ b/source/blender/blenkernel/BKE_osa_types.h @@ -34,6 +34,11 @@ #ifndef BKE_OSA_TYPES_H #define BKE_OSA_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + + /* typedef struct Osa */ typedef struct RE_Osa { diff --git a/source/blender/blenkernel/BKE_packedFile.h b/source/blender/blenkernel/BKE_packedFile.h index bb605ba55a0..99b035120c4 100644 --- a/source/blender/blenkernel/BKE_packedFile.h +++ b/source/blender/blenkernel/BKE_packedFile.h @@ -34,6 +34,10 @@ #ifndef BKE_PACKEDFILE_H #define BKE_PACKEDFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct PackedFile; struct VFont; struct bSample; diff --git a/source/blender/blenkernel/BKE_plugin_types.h b/source/blender/blenkernel/BKE_plugin_types.h index 338cfee7291..2934f031495 100644 --- a/source/blender/blenkernel/BKE_plugin_types.h +++ b/source/blender/blenkernel/BKE_plugin_types.h @@ -37,6 +37,10 @@ #ifndef BKE_PLUGIN_TYPES_H #define BKE_PLUGIN_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; typedef int (*TexDoit)(int, void*, float*, float*, float*); diff --git a/source/blender/blenkernel/BKE_property.h b/source/blender/blenkernel/BKE_property.h index c8af07e3ee8..980be47e44d 100644 --- a/source/blender/blenkernel/BKE_property.h +++ b/source/blender/blenkernel/BKE_property.h @@ -34,6 +34,10 @@ #ifndef BKE_PROPERTY_H #define BKE_PROPERTY_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bProperty; struct ListBase; struct Object; diff --git a/source/blender/blenkernel/BKE_sca.h b/source/blender/blenkernel/BKE_sca.h index 62ed06665fe..b56cfde72d6 100644 --- a/source/blender/blenkernel/BKE_sca.h +++ b/source/blender/blenkernel/BKE_sca.h @@ -34,6 +34,10 @@ #ifndef BKE_SCA_H #define BKE_SCA_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Text; struct bSensor; struct Object; diff --git a/source/blender/blenkernel/BKE_scene.h b/source/blender/blenkernel/BKE_scene.h index a278cc0cfb1..5ae2903f363 100644 --- a/source/blender/blenkernel/BKE_scene.h +++ b/source/blender/blenkernel/BKE_scene.h @@ -34,6 +34,10 @@ #ifndef BKE_SCENE_H #define BKE_SCENE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Scene; struct Object; struct Base; diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h index d8c174481d7..ddd4c5bc07c 100644 --- a/source/blender/blenkernel/BKE_screen.h +++ b/source/blender/blenkernel/BKE_screen.h @@ -34,6 +34,10 @@ #ifndef BKE_SCREEN_H #define BKE_SCREEN_H +#ifdef HAVE_CONFIG_H +#include +#endif + void free_screen(struct bScreen *sc); diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h index e6634bc4a6a..3a7f8fb4bb1 100644 --- a/source/blender/blenkernel/BKE_sound.h +++ b/source/blender/blenkernel/BKE_sound.h @@ -34,6 +34,10 @@ #ifndef BKE_SOUND_H #define BKE_SOUND_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct PackedFile; struct bSound; struct bSample; diff --git a/source/blender/blenkernel/BKE_subsurf.h b/source/blender/blenkernel/BKE_subsurf.h index 2ce3a8b66ed..3eacdc7fead 100644 --- a/source/blender/blenkernel/BKE_subsurf.h +++ b/source/blender/blenkernel/BKE_subsurf.h @@ -31,6 +31,10 @@ #ifndef BKE_SUBSURF_H #define BKE_SUBSURF_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Mesh; struct Object; struct Displist; diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index c44b1c37e50..906132f7b50 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -34,6 +34,10 @@ #ifndef BKE_TEXT_H #define BKE_TEXT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenkernel/BKE_texture.h b/source/blender/blenkernel/BKE_texture.h index 711ad893486..5c0cecfa2c9 100644 --- a/source/blender/blenkernel/BKE_texture.h +++ b/source/blender/blenkernel/BKE_texture.h @@ -34,6 +34,10 @@ #ifndef BKE_TEXTURE_H #define BKE_TEXTURE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Tex; struct MTex; struct PluginTex; diff --git a/source/blender/blenkernel/BKE_utildefines.h b/source/blender/blenkernel/BKE_utildefines.h index d0f418ec192..7879d9c9984 100644 --- a/source/blender/blenkernel/BKE_utildefines.h +++ b/source/blender/blenkernel/BKE_utildefines.h @@ -36,6 +36,10 @@ #ifndef BKE_UTILDEFINES_H #define BKE_UTILDEFINES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef FALSE #define FALSE 0 #endif diff --git a/source/blender/blenkernel/BKE_world.h b/source/blender/blenkernel/BKE_world.h index cedff61f2dd..f20a1e605e3 100644 --- a/source/blender/blenkernel/BKE_world.h +++ b/source/blender/blenkernel/BKE_world.h @@ -34,6 +34,10 @@ #ifndef BKE_WORLD_H #define BKE_WORLD_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct World; void free_world(struct World *sc); diff --git a/source/blender/blenkernel/BKE_writeavi.h b/source/blender/blenkernel/BKE_writeavi.h index f63342ea047..c76cfad959b 100644 --- a/source/blender/blenkernel/BKE_writeavi.h +++ b/source/blender/blenkernel/BKE_writeavi.h @@ -33,6 +33,10 @@ #ifndef BKE_WRITEAVI_H #define BKE_WRITEAVI_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/BLI_arithb.h b/source/blender/blenlib/BLI_arithb.h index 58d3748cd2c..230b096dd37 100644 --- a/source/blender/blenlib/BLI_arithb.h +++ b/source/blender/blenlib/BLI_arithb.h @@ -40,6 +40,10 @@ #ifndef BLI_ARITHB_H #define BLI_ARITHB_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index b5dbf002b84..9d96fc0057a 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -65,6 +65,10 @@ #ifndef BLI_BLENLIB_H #define BLI_BLENLIB_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" /* braindamage for the masses... needed because fillvlakbase and fillvertbase are used outside */ diff --git a/source/blender/blenlib/BLI_dynstr.h b/source/blender/blenlib/BLI_dynstr.h index 7e8cc140964..2a1011d4371 100644 --- a/source/blender/blenlib/BLI_dynstr.h +++ b/source/blender/blenlib/BLI_dynstr.h @@ -41,6 +41,10 @@ #ifndef BLI_DYNSTR_H #define BLI_DYNSTR_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct DynStr; /** The abstract DynStr type */ diff --git a/source/blender/blenlib/BLI_editVert.h b/source/blender/blenlib/BLI_editVert.h index 6bdd89a4d71..94b6589c8e2 100644 --- a/source/blender/blenlib/BLI_editVert.h +++ b/source/blender/blenlib/BLI_editVert.h @@ -38,6 +38,10 @@ #ifndef BLI_EDITVERT_H #define BLI_EDITVERT_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct EditVert { struct EditVert *next, *prev, *vn; diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 11dee5df57d..61ce3d6ffc6 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -35,6 +35,10 @@ #ifndef BLI_GHASH_H #define BLI_GHASH_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct GHash; typedef struct GHash GHash; diff --git a/source/blender/blenlib/BLI_gsqueue.h b/source/blender/blenlib/BLI_gsqueue.h index 3079c5e1f56..93db7871607 100644 --- a/source/blender/blenlib/BLI_gsqueue.h +++ b/source/blender/blenlib/BLI_gsqueue.h @@ -36,6 +36,10 @@ #ifndef BLI_GSQUEUE_H #define BLI_GSQUEUE_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct _GSQueue GSQueue; /** diff --git a/source/blender/blenlib/BLI_linklist.h b/source/blender/blenlib/BLI_linklist.h index d0e6effae3d..ce5afd2afae 100644 --- a/source/blender/blenlib/BLI_linklist.h +++ b/source/blender/blenlib/BLI_linklist.h @@ -36,6 +36,10 @@ #ifndef BLI_LINKLIST_H #define BLI_LINKLIST_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct MemArena; typedef void (*LinkNodeFreeFP)(void *link); diff --git a/source/blender/blenlib/BLI_memarena.h b/source/blender/blenlib/BLI_memarena.h index c00d9b9be51..4468ee01018 100644 --- a/source/blender/blenlib/BLI_memarena.h +++ b/source/blender/blenlib/BLI_memarena.h @@ -40,6 +40,10 @@ #ifndef BLI_MEMARENA_H #define BLI_MEMARENA_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* A reasonable standard buffer size, big * enough to not cause much internal fragmentation, * small enough not to waste resources diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h index 6513dea8115..078a234b147 100644 --- a/source/blender/blenlib/BLI_rand.h +++ b/source/blender/blenlib/BLI_rand.h @@ -36,6 +36,10 @@ #ifndef BLI_RAND_H #define BLI_RAND_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** Seed the random number generator */ void BLI_srand (unsigned int seed); diff --git a/source/blender/blenlib/BLI_storage_types.h b/source/blender/blenlib/BLI_storage_types.h index 2b756e26f5b..355aa33ef81 100644 --- a/source/blender/blenlib/BLI_storage_types.h +++ b/source/blender/blenlib/BLI_storage_types.h @@ -38,6 +38,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #define HDRSIZE 512 #define NAMSIZE 200 diff --git a/source/blender/blenlib/BLI_vfontdata.h b/source/blender/blenlib/BLI_vfontdata.h index 71cc4e108bc..d81126b644f 100644 --- a/source/blender/blenlib/BLI_vfontdata.h +++ b/source/blender/blenlib/BLI_vfontdata.h @@ -34,6 +34,10 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif #ifndef BLI_VFONTDATA_H #define BLI_VFONTDATA_H diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h index 66a5bc70389..735bdd7abf6 100644 --- a/source/blender/blenlib/BLI_winstuff.h +++ b/source/blender/blenlib/BLI_winstuff.h @@ -33,6 +33,10 @@ */ #pragma warning(once: 4761 4305 4244 4018) +#ifdef HAVE_CONFIG_H +#include +#endif + #define WIN32_LEAN_AND_MEAN #include diff --git a/source/blender/blenlib/MTC_matrixops.h b/source/blender/blenlib/MTC_matrixops.h index a1b9959dab2..8bf43376e0c 100644 --- a/source/blender/blenlib/MTC_matrixops.h +++ b/source/blender/blenlib/MTC_matrixops.h @@ -35,6 +35,10 @@ #ifndef MATRIXOPS_H #define MATRIXOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/MTC_vectorops.h b/source/blender/blenlib/MTC_vectorops.h index e6fb8559abc..d29c49c93b9 100644 --- a/source/blender/blenlib/MTC_vectorops.h +++ b/source/blender/blenlib/MTC_vectorops.h @@ -35,6 +35,10 @@ #ifndef VECTOROPS_H #define VECTOROPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* ------------------------------------------------------------------------- */ void MTC_diff3Int(int v1[3], int v2[3], int v3[3]); diff --git a/source/blender/blenlib/PIL_dynlib.h b/source/blender/blenlib/PIL_dynlib.h index 26e1b2f9ac4..e23a2c3f1ac 100644 --- a/source/blender/blenlib/PIL_dynlib.h +++ b/source/blender/blenlib/PIL_dynlib.h @@ -32,6 +32,10 @@ #ifndef __PIL_DYNLIB_H__ #define __PIL_DYNLIB_H__ +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct PILdynlib PILdynlib; PILdynlib* diff --git a/source/blender/blenlib/PIL_time.h b/source/blender/blenlib/PIL_time.h index 190a116d658..585d99aca2d 100644 --- a/source/blender/blenlib/PIL_time.h +++ b/source/blender/blenlib/PIL_time.h @@ -36,6 +36,10 @@ #ifndef PIL_TIME_H #define PIL_TIME_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/intern/BLI_callbacks.h b/source/blender/blenlib/intern/BLI_callbacks.h index a2c7ccd4bd8..daf2c081549 100644 --- a/source/blender/blenlib/intern/BLI_callbacks.h +++ b/source/blender/blenlib/intern/BLI_callbacks.h @@ -37,6 +37,10 @@ #ifndef BLI_CALLBACKS_H #define BLI_CALLBACKS_H +#ifdef HAVE_CONFIG_H +#include +#endif + // This is blenlib internal only void callLocalErrorCallBack(char* msg); int callLocalInterruptCallBack(void); diff --git a/source/blender/blenlib/intern/BLI_fileops.h b/source/blender/blenlib/intern/BLI_fileops.h index 622706a32e9..520ece11ff8 100644 --- a/source/blender/blenlib/intern/BLI_fileops.h +++ b/source/blender/blenlib/intern/BLI_fileops.h @@ -39,6 +39,10 @@ #ifndef BLI_FILEOPS_H #define BLI_FILEOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + char *first_slash(char *string); /* only for the sane unix world: direct calls to system functions :( */ diff --git a/source/blender/blenlib/intern/BLI_scanfill.h b/source/blender/blenlib/intern/BLI_scanfill.h index 54b11a34b58..d5156b5b6e8 100644 --- a/source/blender/blenlib/intern/BLI_scanfill.h +++ b/source/blender/blenlib/intern/BLI_scanfill.h @@ -37,6 +37,9 @@ #ifndef BLI_SCANFILL_H #define BLI_SCANFILL_H +#ifdef HAVE_CONFIG_H +#include +#endif #endif diff --git a/source/blender/blenlib/intern/BLI_storage.h b/source/blender/blenlib/intern/BLI_storage.h index 5e9c377c410..268f5f4b1fa 100644 --- a/source/blender/blenlib/intern/BLI_storage.h +++ b/source/blender/blenlib/intern/BLI_storage.h @@ -31,6 +31,10 @@ #ifndef BLI_STORAGE_H #define BLI_STORAGE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "BLI_storage_types.h" void BLI_adddirstrings(void); diff --git a/source/blender/blenlib/intern/BLI_util.h b/source/blender/blenlib/intern/BLI_util.h index 2fa27428293..96cc6782cac 100644 --- a/source/blender/blenlib/intern/BLI_util.h +++ b/source/blender/blenlib/intern/BLI_util.h @@ -36,6 +36,10 @@ #ifndef BLI_UTIL_H #define BLI_UTIL_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define mallocstructN(x,y,name) (x*)MEM_mallocN((y)* sizeof(x),name) #define callocstructN(x,y,name) (x*)MEM_callocN((y)* sizeof(x),name) diff --git a/source/blender/blenloader/BLO_genfile.h b/source/blender/blenloader/BLO_genfile.h index fadd81a59cc..5b6d4900d98 100644 --- a/source/blender/blenloader/BLO_genfile.h +++ b/source/blender/blenloader/BLO_genfile.h @@ -34,6 +34,10 @@ #ifndef BLO_GENFILE_H #define BLO_GENFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + int BLO_findstruct_offset(char *structname, char *member);// used by py_main.c #endif diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index c664f7f5354..5267471af52 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -33,6 +33,10 @@ #ifndef BLO_READFILE_H #define BLO_READFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenloader/BLO_soundfile.h b/source/blender/blenloader/BLO_soundfile.h index 3a8ff3fcb99..51da3543f83 100644 --- a/source/blender/blenloader/BLO_soundfile.h +++ b/source/blender/blenloader/BLO_soundfile.h @@ -32,6 +32,10 @@ #ifndef BLO_SOUNDFILE_H #define BLO_SOUNDFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_sound_types.h" #include "DNA_packedFile_types.h" diff --git a/source/blender/blenloader/BLO_writefile.h b/source/blender/blenloader/BLO_writefile.h index 1bbbf7ea4c9..41d8dabeedf 100644 --- a/source/blender/blenloader/BLO_writefile.h +++ b/source/blender/blenloader/BLO_writefile.h @@ -34,6 +34,10 @@ #ifndef BLO_WRITEFILE_H #define BLO_WRITEFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + int BLO_write_file(char *dir, int write_flags, char **error_r); void BLO_write_runtime(char *file, char *exename); diff --git a/source/blender/blenloader/intern/genfile.h b/source/blender/blenloader/intern/genfile.h index e23802958ee..91adbc4070d 100644 --- a/source/blender/blenloader/intern/genfile.h +++ b/source/blender/blenloader/intern/genfile.h @@ -34,6 +34,10 @@ #ifndef GENFILE_H #define GENFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct SDNA; int dna_findstruct_nr(struct SDNA *sdna, char *str); diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index a052b940c7c..8122639059a 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -33,6 +33,10 @@ #ifndef READFILE_H #define READFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct OldNewMap; typedef struct FileData { diff --git a/source/blender/blenpluginapi/floatpatch.h b/source/blender/blenpluginapi/floatpatch.h index d33ab7629e1..b494ecdeb1a 100644 --- a/source/blender/blenpluginapi/floatpatch.h +++ b/source/blender/blenpluginapi/floatpatch.h @@ -31,6 +31,10 @@ #ifndef FLOATPATCH_H #define FLOATPATCH_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* floating point libs differ at systems... with these defines it comilies at all! */ #ifdef MIPS1 diff --git a/source/blender/blenpluginapi/iff.h b/source/blender/blenpluginapi/iff.h index 5d422e413b4..951e0f0de52 100644 --- a/source/blender/blenpluginapi/iff.h +++ b/source/blender/blenpluginapi/iff.h @@ -34,6 +34,10 @@ #include #include "util.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #define IB_rect (1 << 0) #define IB_planes (1 << 1) #define IB_cmap (1 << 2) diff --git a/source/blender/blenpluginapi/plugin.h b/source/blender/blenpluginapi/plugin.h index 59596b8b7df..12864477e4d 100644 --- a/source/blender/blenpluginapi/plugin.h +++ b/source/blender/blenpluginapi/plugin.h @@ -31,6 +31,10 @@ #ifndef PLUGIN_H #define PLUGIN_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "iff.h" #include "util.h" #include "floatpatch.h" diff --git a/source/blender/blenpluginapi/util.h b/source/blender/blenpluginapi/util.h index 66540581ba5..a5b7a72ee9d 100644 --- a/source/blender/blenpluginapi/util.h +++ b/source/blender/blenpluginapi/util.h @@ -31,6 +31,10 @@ #ifndef UTIL_H #define UTIL_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/source/blender/bpython/include/BPY_extern.h b/source/blender/bpython/include/BPY_extern.h index cc0ecbefd66..eba808f6a03 100644 --- a/source/blender/bpython/include/BPY_extern.h +++ b/source/blender/bpython/include/BPY_extern.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct Text; struct ID; struct ScriptLink; diff --git a/source/blender/bpython/include/BPY_objtypes.h b/source/blender/bpython/include/BPY_objtypes.h index 91cdc5ceb96..150905a99dc 100644 --- a/source/blender/bpython/include/BPY_objtypes.h +++ b/source/blender/bpython/include/BPY_objtypes.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" #include "DNA_listBase.h" #include "DNA_mesh_types.h" diff --git a/source/blender/bpython/intern/BPY_constobject.h b/source/blender/bpython/intern/BPY_constobject.h index b75ba202765..a9cdf2517f6 100644 --- a/source/blender/bpython/intern/BPY_constobject.h +++ b/source/blender/bpython/intern/BPY_constobject.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct { PyObject_HEAD PyObject *dict; diff --git a/source/blender/bpython/intern/BPY_csg.h b/source/blender/bpython/intern/BPY_csg.h index 3f28168107f..e81aca184dc 100644 --- a/source/blender/bpython/intern/BPY_csg.h +++ b/source/blender/bpython/intern/BPY_csg.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "BPY_macros.h" #include "opy_datablock.h" diff --git a/source/blender/bpython/intern/BPY_listbase_macro.h b/source/blender/bpython/intern/BPY_listbase_macro.h index cee7f958283..44bb0e713f0 100644 --- a/source/blender/bpython/intern/BPY_listbase_macro.h +++ b/source/blender/bpython/intern/BPY_listbase_macro.h @@ -36,6 +36,10 @@ /** example: DEFFUNC_GETLIST(text) defines a method for getting a list * of text blocks */ +#ifdef HAVE_CONFIG_H +#include +#endif + // Example: _GETLIST(name) -> get_namelist #define _GETLIST(x) get_##x##list diff --git a/source/blender/bpython/intern/BPY_macros.h b/source/blender/bpython/intern/BPY_macros.h index 478e2d2c328..5d7d11d1831 100644 --- a/source/blender/bpython/intern/BPY_macros.h +++ b/source/blender/bpython/intern/BPY_macros.h @@ -36,6 +36,10 @@ /* Hint: use gcc -E file.c to see what these macros are expanded in */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "api.h" // temporary defines for API version #include "BPY_listbase_macro.h" diff --git a/source/blender/bpython/intern/BPY_main.h b/source/blender/bpython/intern/BPY_main.h index b07e222f51a..4b782db1067 100644 --- a/source/blender/bpython/intern/BPY_main.h +++ b/source/blender/bpython/intern/BPY_main.h @@ -31,6 +31,9 @@ */ // Note: Functions prefixed with BPY_ are called from blenkernel routines */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "Python.h" /* The python includes themselves. */ #include "compile.h" /* to give us PyCodeObject */ diff --git a/source/blender/bpython/intern/BPY_modules.h b/source/blender/bpython/intern/BPY_modules.h index f1c91d23bc8..48f26e7db8e 100644 --- a/source/blender/bpython/intern/BPY_modules.h +++ b/source/blender/bpython/intern/BPY_modules.h @@ -31,6 +31,10 @@ * these prototypes and init functions should be homogenized */ +#ifdef HAVE_CONFIG_H +#include +#endif + extern PyObject *init_blender(void); extern PyObject *init_py_nmesh(void); extern PyObject *init_py_draw(void); diff --git a/source/blender/bpython/intern/BPY_tools.h b/source/blender/bpython/intern/BPY_tools.h index d360faa883a..dad5df92917 100644 --- a/source/blender/bpython/intern/BPY_tools.h +++ b/source/blender/bpython/intern/BPY_tools.h @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* tools.c */ + +#ifdef HAVE_CONFIG_H +#include +#endif + extern PyObject *BPY_incr_ret (PyObject *ob); extern PyObject *BPY_err_ret_ob (PyObject *type, char *err); extern int py_err_ret_int (PyObject *type, char *err); diff --git a/source/blender/bpython/intern/BPY_types.h b/source/blender/bpython/intern/BPY_types.h index adfcd748f94..565829c5cff 100644 --- a/source/blender/bpython/intern/BPY_types.h +++ b/source/blender/bpython/intern/BPY_types.h @@ -30,6 +30,10 @@ * API defined Object types */ +#ifdef HAVE_CONFIG_H +#include +#endif + extern PyTypeObject PyIpoCurve_Type, PyBezTriple_Type; extern PyTypeObject Button_Type, Buffer_Type; extern PyTypeObject NMesh_Type, NMFace_Type, NMVert_Type, NMCol_Type; diff --git a/source/blender/bpython/intern/BPY_window.h b/source/blender/bpython/intern/BPY_window.h index 7a76dbd2e57..8f8835ccfa7 100644 --- a/source/blender/bpython/intern/BPY_window.h +++ b/source/blender/bpython/intern/BPY_window.h @@ -29,5 +29,9 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif void window_update_curCamera(Object *camera); diff --git a/source/blender/bpython/intern/api.h b/source/blender/bpython/intern/api.h index 785891e3816..2efcc7f0c0f 100644 --- a/source/blender/bpython/intern/api.h +++ b/source/blender/bpython/intern/api.h @@ -34,6 +34,11 @@ * see Makefile */ +#ifdef HAVE_CONFIG_H +#include +#endif + + #undef EXPERIMENTAL /* undefine this for release, please :-) */ /* Uncomment this if you want to have the new blender module diff --git a/source/blender/bpython/intern/b_import.h b/source/blender/bpython/intern/b_import.h index d469b7c1f84..5813c436220 100644 --- a/source/blender/bpython/intern/b_import.h +++ b/source/blender/bpython/intern/b_import.h @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* b_import.c */ + +#ifdef HAVE_CONFIG_H +#include +#endif + PyObject *importText (char *name); PyObject *blender_import (PyObject *self, PyObject *args); void init_ourImport (void); diff --git a/source/blender/bpython/intern/b_interface.h b/source/blender/bpython/intern/b_interface.h index db3c3f065d6..eb1a15751ac 100644 --- a/source/blender/bpython/intern/b_interface.h +++ b/source/blender/bpython/intern/b_interface.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" #include "DNA_mesh_types.h" #include "DNA_view3d_types.h" diff --git a/source/blender/bpython/intern/opy_datablock.h b/source/blender/bpython/intern/opy_datablock.h index 2c4a60fd5a3..3ce7d298cc2 100644 --- a/source/blender/bpython/intern/opy_datablock.h +++ b/source/blender/bpython/intern/opy_datablock.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "BSE_edit.h" // for getname_< >_ei() #include "BKE_global.h" #include "BKE_main.h" diff --git a/source/blender/bpython/intern/opy_nmesh.h b/source/blender/bpython/intern/opy_nmesh.h index d8d6f2ae9ee..50bdea0b0d1 100644 --- a/source/blender/bpython/intern/opy_nmesh.h +++ b/source/blender/bpython/intern/opy_nmesh.h @@ -31,6 +31,10 @@ */ /* opy_nmesh.c */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_mesh_types.h" #define NMesh_Check(v) ((v)->ob_type == &NMesh_Type) diff --git a/source/blender/bpython/intern/opy_vector.h b/source/blender/bpython/intern/opy_vector.h index 10535fe5ae2..054429d57e3 100644 --- a/source/blender/bpython/intern/opy_vector.h +++ b/source/blender/bpython/intern/opy_vector.h @@ -39,6 +39,10 @@ /*****************************/ /* temporar hack for typecasts */ +#ifdef HAVE_CONFIG_H +#include +#endif + typedef float (*Matrix4Ptr)[4]; typedef struct { PyObject_VAR_HEAD diff --git a/source/blender/decrypt/BLO_decrypt.h b/source/blender/decrypt/BLO_decrypt.h index 3d2f36b1c3b..f2dd7efe096 100644 --- a/source/blender/decrypt/BLO_decrypt.h +++ b/source/blender/decrypt/BLO_decrypt.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef BLO_DECRYPT_H #define BLO_DECRYPT_H diff --git a/source/blender/decrypt/BLO_en_de_cryptHeader.h b/source/blender/decrypt/BLO_en_de_cryptHeader.h index fd9f634c27e..61b55748bd1 100644 --- a/source/blender/decrypt/BLO_en_de_cryptHeader.h +++ b/source/blender/decrypt/BLO_en_de_cryptHeader.h @@ -31,6 +31,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef BLO_EN_DE_CRYPT_H #define BLO_EN_DE_CRYPT_H diff --git a/source/blender/deflate/BLO_deflate.h b/source/blender/deflate/BLO_deflate.h index 8d7f9ff07e0..50cd7408598 100644 --- a/source/blender/deflate/BLO_deflate.h +++ b/source/blender/deflate/BLO_deflate.h @@ -31,6 +31,10 @@ * zlib deflate compression wrapper library interface */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef BLO_DEFLATE_H #define BLO_DEFLATE_H diff --git a/source/blender/encrypt/BLO_encrypt.h b/source/blender/encrypt/BLO_encrypt.h index 22b9e6f6300..2811eb02a96 100644 --- a/source/blender/encrypt/BLO_encrypt.h +++ b/source/blender/encrypt/BLO_encrypt.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef BLO_ENCRYPT_H #define BLO_ENCRYPT_H diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 977abe04ce0..ea293e66289 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -93,6 +93,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef IMB_IMBUF_H #define IMB_IMBUF_H diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index f674ffaab94..2b89909c887 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -41,6 +41,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef IMB_IMBUF_TYPES_H #define IMB_IMBUF_TYPES_H diff --git a/source/blender/imbuf/intern/IMB_allocimbuf.h b/source/blender/imbuf/intern/IMB_allocimbuf.h index 21dc59a127c..b5daef3f72b 100644 --- a/source/blender/imbuf/intern/IMB_allocimbuf.h +++ b/source/blender/imbuf/intern/IMB_allocimbuf.h @@ -35,6 +35,10 @@ #ifndef IMB_ALLOCIMBUF_H #define IMB_ALLOCIMBUF_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; short imb_addrectImBuf(struct ImBuf * ibuf); diff --git a/source/blender/imbuf/intern/IMB_amiga.h b/source/blender/imbuf/intern/IMB_amiga.h index eca6b8fbac8..2b58204f384 100644 --- a/source/blender/imbuf/intern/IMB_amiga.h +++ b/source/blender/imbuf/intern/IMB_amiga.h @@ -35,6 +35,10 @@ #ifndef IMB_AMIGA_H #define IMB_AMIGA_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; struct ImBuf *imb_loadamiga(int *iffmem,int flags); diff --git a/source/blender/imbuf/intern/IMB_bitplanes.h b/source/blender/imbuf/intern/IMB_bitplanes.h index 77832e19177..cd0667e8730 100644 --- a/source/blender/imbuf/intern/IMB_bitplanes.h +++ b/source/blender/imbuf/intern/IMB_bitplanes.h @@ -35,6 +35,10 @@ #ifndef IMB_BITPLANES_H #define IMB_BITPLANES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; void imb_bptolong(struct ImBuf *ibuf); diff --git a/source/blender/imbuf/intern/IMB_bmp.h b/source/blender/imbuf/intern/IMB_bmp.h index 112cfe932ce..5c5dc367e98 100644 --- a/source/blender/imbuf/intern/IMB_bmp.h +++ b/source/blender/imbuf/intern/IMB_bmp.h @@ -35,6 +35,10 @@ #ifndef IMB_BMP_H #define IMB_BMP_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; int imb_is_a_bmp(void *buf); diff --git a/source/blender/imbuf/intern/IMB_cmap.h b/source/blender/imbuf/intern/IMB_cmap.h index 23f5b9f4015..734bbd627e1 100644 --- a/source/blender/imbuf/intern/IMB_cmap.h +++ b/source/blender/imbuf/intern/IMB_cmap.h @@ -35,6 +35,10 @@ #ifndef IMB_CMAP_H #define IMB_CMAP_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; void imb_makecolarray(struct ImBuf *ibuf, unsigned char *mem, short nocols); diff --git a/source/blender/imbuf/intern/IMB_divers.h b/source/blender/imbuf/intern/IMB_divers.h index 196ecf3219b..bab752fb845 100644 --- a/source/blender/imbuf/intern/IMB_divers.h +++ b/source/blender/imbuf/intern/IMB_divers.h @@ -35,6 +35,10 @@ #ifndef IMB_DIVERS_H #define IMB_DIVERS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; void imb_checkncols(struct ImBuf *ibuf); diff --git a/source/blender/imbuf/intern/IMB_filter.h b/source/blender/imbuf/intern/IMB_filter.h index 7091ee56aa2..23fec962cb8 100644 --- a/source/blender/imbuf/intern/IMB_filter.h +++ b/source/blender/imbuf/intern/IMB_filter.h @@ -35,6 +35,10 @@ #ifndef IMB_FILTER_H #define IMB_FILTER_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; void imb_filterx(struct ImBuf *ibuf); diff --git a/source/blender/imbuf/intern/IMB_ham.h b/source/blender/imbuf/intern/IMB_ham.h index b1b1e7b0c97..d3b4f783b39 100644 --- a/source/blender/imbuf/intern/IMB_ham.h +++ b/source/blender/imbuf/intern/IMB_ham.h @@ -35,6 +35,10 @@ #ifndef IMB_HAM_H #define IMB_HAM_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; short imb_converttoham(struct ImBuf *ibuf); diff --git a/source/blender/imbuf/intern/IMB_hamx.h b/source/blender/imbuf/intern/IMB_hamx.h index 8b7f489964e..934cbb7d8ba 100644 --- a/source/blender/imbuf/intern/IMB_hamx.h +++ b/source/blender/imbuf/intern/IMB_hamx.h @@ -35,6 +35,10 @@ #ifndef IMB_HAMX_H #define IMB_HAMX_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; struct ImBuf *imb_loadanim(int *iffmem, int flags); diff --git a/source/blender/imbuf/intern/IMB_iff.h b/source/blender/imbuf/intern/IMB_iff.h index 1dbb193d098..e59bb21369e 100644 --- a/source/blender/imbuf/intern/IMB_iff.h +++ b/source/blender/imbuf/intern/IMB_iff.h @@ -35,6 +35,10 @@ #ifndef IMB_IFF_H #define IMB_IFF_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; unsigned short imb_start_iff(struct ImBuf *ibuf, int file); diff --git a/source/blender/imbuf/intern/IMB_iris.h b/source/blender/imbuf/intern/IMB_iris.h index 41457e1fadf..cd50dcef730 100644 --- a/source/blender/imbuf/intern/IMB_iris.h +++ b/source/blender/imbuf/intern/IMB_iris.h @@ -35,6 +35,10 @@ #ifndef IMB_IRIS_H #define IMB_IRIS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; struct ImBuf *imb_loadiris(unsigned char *mem, int flags); diff --git a/source/blender/imbuf/intern/IMB_jpeg.h b/source/blender/imbuf/intern/IMB_jpeg.h index a673d965a4d..19afcf6ef59 100644 --- a/source/blender/imbuf/intern/IMB_jpeg.h +++ b/source/blender/imbuf/intern/IMB_jpeg.h @@ -35,6 +35,10 @@ #ifndef IMB_JPEG_H #define IMB_JPEG_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; struct jpeg_compress_struct; diff --git a/source/blender/imbuf/intern/IMB_png.h b/source/blender/imbuf/intern/IMB_png.h index f876b8204d8..13726599450 100644 --- a/source/blender/imbuf/intern/IMB_png.h +++ b/source/blender/imbuf/intern/IMB_png.h @@ -35,6 +35,10 @@ #ifndef IMB_PNG_H #define IMB_PNG_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; int imb_is_a_png(void *buf); diff --git a/source/blender/imbuf/intern/IMB_targa.h b/source/blender/imbuf/intern/IMB_targa.h index f1fdf5f4daa..3d7f39d698e 100644 --- a/source/blender/imbuf/intern/IMB_targa.h +++ b/source/blender/imbuf/intern/IMB_targa.h @@ -35,6 +35,10 @@ #ifndef IMB_TARGA_H #define IMB_TARGA_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; int imb_is_a_targa(void *buf); diff --git a/source/blender/imbuf/intern/imbuf.h b/source/blender/imbuf/intern/imbuf.h index 63679be7f31..575ba463ffd 100644 --- a/source/blender/imbuf/intern/imbuf.h +++ b/source/blender/imbuf/intern/imbuf.h @@ -41,6 +41,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #endif diff --git a/source/blender/imbuf/intern/imbuf_patch.h b/source/blender/imbuf/intern/imbuf_patch.h index e8d8faa14a1..11c556b2ced 100644 --- a/source/blender/imbuf/intern/imbuf_patch.h +++ b/source/blender/imbuf/intern/imbuf_patch.h @@ -38,6 +38,10 @@ #ifndef IMBUF_PATCH_H #define IMBUF_PATCH_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* most of imbuf uses this aloc, and it will disappear soon * (hopefully) (25-10-2001 nzc) */ #include "MEM_guardedalloc.h" diff --git a/source/blender/imbuf/intern/matrix.h b/source/blender/imbuf/intern/matrix.h index 20127e806a9..11bb6cb3edf 100644 --- a/source/blender/imbuf/intern/matrix.h +++ b/source/blender/imbuf/intern/matrix.h @@ -32,6 +32,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + /* rgbyuv is identiek aan rgbbeta */ float rgbyuv[4][4]={ /* afgeleid uit videoframer = Y Cr Cb in kopieen van Francois*/ diff --git a/source/blender/img/IMG_Api.h b/source/blender/img/IMG_Api.h index 6bfc85ba605..a641b515e95 100644 --- a/source/blender/img/IMG_Api.h +++ b/source/blender/img/IMG_Api.h @@ -36,6 +36,9 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif typedef void* IMG_BrushPtr; typedef void* IMG_CanvasPtr; diff --git a/source/blender/img/intern/IMG_BrushRGBA32.h b/source/blender/img/intern/IMG_BrushRGBA32.h index a609b685087..8995a218bc5 100644 --- a/source/blender/img/intern/IMG_BrushRGBA32.h +++ b/source/blender/img/intern/IMG_BrushRGBA32.h @@ -32,6 +32,10 @@ #ifndef _H_IMG_BrushRGBA32 #define _H_IMG_BrushRGBA32 +#ifdef HAVE_CONFIG_H +#include +#endif + #include "IMG_PixmapRGBA32.h" diff --git a/source/blender/img/intern/IMG_CanvasRGBA32.h b/source/blender/img/intern/IMG_CanvasRGBA32.h index fb201202fc1..53743b65a87 100644 --- a/source/blender/img/intern/IMG_CanvasRGBA32.h +++ b/source/blender/img/intern/IMG_CanvasRGBA32.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_CanvasRGBA32 #define _H_IMG_CanvasRGBA32 +#ifdef HAVE_CONFIG_H +#include +#endif + #include "IMG_PixmapRGBA32.h" #include "IMG_BrushRGBA32.h" diff --git a/source/blender/img/intern/IMG_Color.h b/source/blender/img/intern/IMG_Color.h index 8343f55e4f0..ace2ad06359 100644 --- a/source/blender/img/intern/IMG_Color.h +++ b/source/blender/img/intern/IMG_Color.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_Color #define _H_IMG_Color +#ifdef HAVE_CONFIG_H +#include +#endif + class IMG_ColorRGBA; /** diff --git a/source/blender/img/intern/IMG_Line.h b/source/blender/img/intern/IMG_Line.h index 0eb4a261d5f..f0d74258f9b 100644 --- a/source/blender/img/intern/IMG_Line.h +++ b/source/blender/img/intern/IMG_Line.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_Line #define _H_IMG_Line +#ifdef HAVE_CONFIG_H +#include +#endif + #include "IMG_Types.h" #include diff --git a/source/blender/img/intern/IMG_MemPtr.h b/source/blender/img/intern/IMG_MemPtr.h index 772e7aa9886..f8576c61fbc 100644 --- a/source/blender/img/intern/IMG_MemPtr.h +++ b/source/blender/img/intern/IMG_MemPtr.h @@ -37,6 +37,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + /** * A memory pointer for memory of any type. * It can be used to avoid memory leaks when allocating memory in constructors. diff --git a/source/blender/img/intern/IMG_Pixmap.h b/source/blender/img/intern/IMG_Pixmap.h index bde5b76e9b3..c97957375d1 100644 --- a/source/blender/img/intern/IMG_Pixmap.h +++ b/source/blender/img/intern/IMG_Pixmap.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_Pixmap #define _H_IMG_Pixmap +#ifdef HAVE_CONFIG_H +#include +#endif + #include "IMG_Types.h" #include "IMG_Color.h" #include "IMG_Rect.h" diff --git a/source/blender/img/intern/IMG_PixmapRGBA32.h b/source/blender/img/intern/IMG_PixmapRGBA32.h index 71941737132..ed846524799 100644 --- a/source/blender/img/intern/IMG_PixmapRGBA32.h +++ b/source/blender/img/intern/IMG_PixmapRGBA32.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_PixmapRGBA32 #define _H_IMG_PixmapRGBA32 +#ifdef HAVE_CONFIG_H +#include +#endif + #include "IMG_Pixmap.h" #include "IMG_MemPtr.h" diff --git a/source/blender/img/intern/IMG_Rect.h b/source/blender/img/intern/IMG_Rect.h index 980c96f11aa..8d1d835d308 100644 --- a/source/blender/img/intern/IMG_Rect.h +++ b/source/blender/img/intern/IMG_Rect.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_Rect #define _H_IMG_Rect +#ifdef HAVE_CONFIG_H +#include +#endif + #include "IMG_Types.h" #include "IMG_Line.h" diff --git a/source/blender/img/intern/IMG_Types.h b/source/blender/img/intern/IMG_Types.h index d4988d39dc6..ce08cda3401 100644 --- a/source/blender/img/intern/IMG_Types.h +++ b/source/blender/img/intern/IMG_Types.h @@ -35,6 +35,10 @@ #ifndef _H_IMG_Types #define _H_IMG_Types +#ifdef HAVE_CONFIG_H +#include +#endif + typedef int TInt32; typedef unsigned char TUns8; typedef unsigned int TUns32; diff --git a/source/blender/include/BDR_drawaction.h b/source/blender/include/BDR_drawaction.h index 6764ced261e..1712623ed2b 100644 --- a/source/blender/include/BDR_drawaction.h +++ b/source/blender/include/BDR_drawaction.h @@ -33,6 +33,10 @@ #ifndef BDR_DRAWACTION_H #define BDR_DRAWACTION_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct BezTriple; struct Ipo; struct gla2DDrawInfo; diff --git a/source/blender/include/BDR_drawmesh.h b/source/blender/include/BDR_drawmesh.h index 6bb1dea3396..801700f3518 100644 --- a/source/blender/include/BDR_drawmesh.h +++ b/source/blender/include/BDR_drawmesh.h @@ -33,6 +33,10 @@ #ifndef BDR_DRAWMESH_H #define BDR_DRAWMESH_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Image; struct TFace; struct Object; diff --git a/source/blender/include/BDR_drawobject.h b/source/blender/include/BDR_drawobject.h index ddc694609fa..3b4bff76ad6 100644 --- a/source/blender/include/BDR_drawobject.h +++ b/source/blender/include/BDR_drawobject.h @@ -33,6 +33,10 @@ #ifndef BDR_DRAWOBJECT_H #define BDR_DRAWOBJECT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/include/BDR_editcurve.h b/source/blender/include/BDR_editcurve.h index 2f12b40b079..7a2e2f42973 100644 --- a/source/blender/include/BDR_editcurve.h +++ b/source/blender/include/BDR_editcurve.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITCURVE_H #define BDR_EDITCURVE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Curve; struct Nurb; struct BezTriple; diff --git a/source/blender/include/BDR_editface.h b/source/blender/include/BDR_editface.h index 41efb4fa4c5..e6dbb2eeecb 100644 --- a/source/blender/include/BDR_editface.h +++ b/source/blender/include/BDR_editface.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITFACE_H #define BDR_EDITFACE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct TFace; struct Mesh; diff --git a/source/blender/include/BDR_editmball.h b/source/blender/include/BDR_editmball.h index 27dc5f651c9..34fce39eae4 100644 --- a/source/blender/include/BDR_editmball.h +++ b/source/blender/include/BDR_editmball.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITMBALL_H #define BDR_EDITMBALL_H +#ifdef HAVE_CONFIG_H +#include +#endif + void make_editMball(void); void load_editMball(void); diff --git a/source/blender/include/BDR_editobject.h b/source/blender/include/BDR_editobject.h index 8eab5c3cb16..04050fc6720 100644 --- a/source/blender/include/BDR_editobject.h +++ b/source/blender/include/BDR_editobject.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITOBJECT_H #define BDR_EDITOBJECT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct TransVert; struct Object; struct TransOb; diff --git a/source/blender/include/BDR_isect.h b/source/blender/include/BDR_isect.h index 0ae02f9545f..0e9c716d9f1 100644 --- a/source/blender/include/BDR_isect.h +++ b/source/blender/include/BDR_isect.h @@ -34,6 +34,9 @@ #ifndef BDR_ISECT_H #define BDR_ISECT_H +#ifdef HAVE_CONFIG_H +#include +#endif struct EditVert; struct EditVlak; diff --git a/source/blender/include/BDR_vpaint.h b/source/blender/include/BDR_vpaint.h index 36189b3e367..6f1eb866ae2 100644 --- a/source/blender/include/BDR_vpaint.h +++ b/source/blender/include/BDR_vpaint.h @@ -33,6 +33,10 @@ #ifndef BDR_VPAINT_H #define BDR_VPAINT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Mesh; struct MDeformVert; /* __NLA */ unsigned int vpaint_get_current_col(void); diff --git a/source/blender/include/BIF_buttons.h b/source/blender/include/BIF_buttons.h index 2f3a87baf5e..d64077ab611 100644 --- a/source/blender/include/BIF_buttons.h +++ b/source/blender/include/BIF_buttons.h @@ -32,6 +32,10 @@ #ifndef BIF_BUTTONS_H #define BIF_BUTTONS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Base; extern void do_blenderbuttons(unsigned short event); diff --git a/source/blender/include/BIF_drawimage.h b/source/blender/include/BIF_drawimage.h index 5eca69ca8be..4a439d14b9f 100644 --- a/source/blender/include/BIF_drawimage.h +++ b/source/blender/include/BIF_drawimage.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWIMAGE_H #define BIF_DRAWIMAGE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct SpaceImage; void calc_image_view(struct SpaceImage *sima, char mode); diff --git a/source/blender/include/BIF_drawoops.h b/source/blender/include/BIF_drawoops.h index d60d8b2e0de..91f2da21718 100644 --- a/source/blender/include/BIF_drawoops.h +++ b/source/blender/include/BIF_drawoops.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWOOPS_H #define BIF_DRAWOOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + void give_oopslink_line(Oops *oops, OopsLink *ol, float *v1, float *v2); void mysbox(float x1, float y1, float x2, float y2); void boundbox_oops(void); diff --git a/source/blender/include/BIF_drawscene.h b/source/blender/include/BIF_drawscene.h index 9574d56e464..4b70931c087 100644 --- a/source/blender/include/BIF_drawscene.h +++ b/source/blender/include/BIF_drawscene.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct Scene; void set_scene(struct Scene *sce); diff --git a/source/blender/include/BIF_drawseq.h b/source/blender/include/BIF_drawseq.h index d122aeb071e..7c68bf4c23c 100644 --- a/source/blender/include/BIF_drawseq.h +++ b/source/blender/include/BIF_drawseq.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWSEQ_H #define BIF_DRAWSEQ_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Sequence; void drawseqspace(void); void drawseq(struct Sequence *seq); diff --git a/source/blender/include/BIF_drawtext.h b/source/blender/include/BIF_drawtext.h index b0ec7a74ea3..06190b2ddc8 100644 --- a/source/blender/include/BIF_drawtext.h +++ b/source/blender/include/BIF_drawtext.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWTEXT_H #define BIF_DRAWTEXT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ScrArea; struct SpaceText; struct Text; diff --git a/source/blender/include/BIF_editarmature.h b/source/blender/include/BIF_editarmature.h index fac2eae6bf0..c18de7af00e 100644 --- a/source/blender/include/BIF_editarmature.h +++ b/source/blender/include/BIF_editarmature.h @@ -32,6 +32,10 @@ #ifndef BIF_EDITARMATURE_H #define BIF_EDITARMATURE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct Bone; struct bArmature; diff --git a/source/blender/include/BIF_editconstraint.h b/source/blender/include/BIF_editconstraint.h index 5d6d38fd529..2bad244c253 100644 --- a/source/blender/include/BIF_editconstraint.h +++ b/source/blender/include/BIF_editconstraint.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITCONSTRAINT_H #define BIF_EDITCONSTRAINT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ListBase; struct Object; struct bConstraint; diff --git a/source/blender/include/BIF_editdeform.h b/source/blender/include/BIF_editdeform.h index 5fcd0473ce5..0d67eb76041 100644 --- a/source/blender/include/BIF_editdeform.h +++ b/source/blender/include/BIF_editdeform.h @@ -33,6 +33,10 @@ #ifndef BIF_DEFORM_H #define BIF_DEFORM_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct MDeformVert; struct MDeformWeight; diff --git a/source/blender/include/BIF_editfont.h b/source/blender/include/BIF_editfont.h index d45ca41cd8c..17b4fa17103 100644 --- a/source/blender/include/BIF_editfont.h +++ b/source/blender/include/BIF_editfont.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITFONT_H #define BIF_EDITFONT_H +#ifdef HAVE_CONFIG_H +#include +#endif + void do_textedit(unsigned short event, short val, char ascii); void make_editText(void); void load_editText(void); diff --git a/source/blender/include/BIF_editgroup.h b/source/blender/include/BIF_editgroup.h index c2f88f8ec0e..bb947072a39 100644 --- a/source/blender/include/BIF_editgroup.h +++ b/source/blender/include/BIF_editgroup.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct Group; void set_active_group(void); void add_selected_to_group(void); diff --git a/source/blender/include/BIF_editika.h b/source/blender/include/BIF_editika.h index ef946843187..e587b7ff255 100644 --- a/source/blender/include/BIF_editika.h +++ b/source/blender/include/BIF_editika.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; void draw_ika(struct Object *ob, int sel); void draw_ika_nrs(struct Object *ob, int type); diff --git a/source/blender/include/BIF_editkey.h b/source/blender/include/BIF_editkey.h index 0a9b14dee16..777931053ab 100644 --- a/source/blender/include/BIF_editkey.h +++ b/source/blender/include/BIF_editkey.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITKEY_H #define BIF_EDITKEY_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Key; struct KeyBlock; struct Mesh; diff --git a/source/blender/include/BIF_editlattice.h b/source/blender/include/BIF_editlattice.h index 738eb14847c..d0a66136d6b 100644 --- a/source/blender/include/BIF_editlattice.h +++ b/source/blender/include/BIF_editlattice.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITLATTICE_H #define BIF_EDITLATTICE_H +#ifdef HAVE_CONFIG_H +#include +#endif + void apply_lattice(void); void free_editLatt(void); void make_editLatt(void); diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index 8a72a63f323..453940a7967 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITMESH_H #define BIF_EDITMESH_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct EditVlak; struct EditEdge; struct EditVert; diff --git a/source/blender/include/BIF_editnla.h b/source/blender/include/BIF_editnla.h index c70969ed575..58af34123f1 100644 --- a/source/blender/include/BIF_editnla.h +++ b/source/blender/include/BIF_editnla.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITNLA_H #define BIF_EDITNLA_H +#ifdef HAVE_CONFIG_H +#include +#endif + void clever_numbuts_nla(void); #endif diff --git a/source/blender/include/BIF_editoops.h b/source/blender/include/BIF_editoops.h index 7c5905e1fa8..bd5f9f5e099 100644 --- a/source/blender/include/BIF_editoops.h +++ b/source/blender/include/BIF_editoops.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITOOPS_H #define BIF_EDITOOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + void borderselect_oops(void); void deselect_all_area_oops(void); void mouse_select_oops(void); diff --git a/source/blender/include/BIF_editsca.h b/source/blender/include/BIF_editsca.h index c8e8a33d475..6af0d73ce81 100644 --- a/source/blender/include/BIF_editsca.h +++ b/source/blender/include/BIF_editsca.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITSCA_H #define BIF_EDITSCA_H +#ifdef HAVE_CONFIG_H +#include +#endif + void make_unique_prop_names(char *str); void do_gamebuts(unsigned short event); void gamebuts(void); diff --git a/source/blender/include/BIF_editseq.h b/source/blender/include/BIF_editseq.h index 52233daea91..21a86185520 100644 --- a/source/blender/include/BIF_editseq.h +++ b/source/blender/include/BIF_editseq.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITSEQ_H #define BIF_EDITSEQ_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Sequence; void add_duplicate_seq(void); diff --git a/source/blender/include/BIF_editsima.h b/source/blender/include/BIF_editsima.h index 0a15e4bd101..60e85b6552e 100644 --- a/source/blender/include/BIF_editsima.h +++ b/source/blender/include/BIF_editsima.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + void clever_numbuts_sima(void); void borderselect_sima(void); void mouseco_to_curtile(void); diff --git a/source/blender/include/BIF_editsound.h b/source/blender/include/BIF_editsound.h index e4b730aedc8..e25e60042a5 100644 --- a/source/blender/include/BIF_editsound.h +++ b/source/blender/include/BIF_editsound.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITSOUND_H #define BIF_EDITSOUND_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bSound; struct bSample; struct ListBase; diff --git a/source/blender/include/BIF_editview.h b/source/blender/include/BIF_editview.h index dc47fb61b51..3076d10cac8 100644 --- a/source/blender/include/BIF_editview.h +++ b/source/blender/include/BIF_editview.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITVIEW_H #define BIF_EDITVIEW_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Base; struct Object; diff --git a/source/blender/include/BIF_fsmenu.h b/source/blender/include/BIF_fsmenu.h index 50b671c6f3d..06c884898d4 100644 --- a/source/blender/include/BIF_fsmenu.h +++ b/source/blender/include/BIF_fsmenu.h @@ -34,6 +34,10 @@ #ifndef BSE_FSMENU_H #define BSE_FSMENU_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** Returns the number of entries in the Fileselect Menu */ int fsmenu_get_nentries (void); diff --git a/source/blender/include/BIF_gl.h b/source/blender/include/BIF_gl.h index 291c465c6c6..164fb15b410 100644 --- a/source/blender/include/BIF_gl.h +++ b/source/blender/include/BIF_gl.h @@ -37,6 +37,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + /* * these should be phased out. cpack should be replaced in * code with calls to glColor3ub, lrectwrite probably should diff --git a/source/blender/include/BIF_glutil.h b/source/blender/include/BIF_glutil.h index 93617cf6bfb..19bd69568e6 100644 --- a/source/blender/include/BIF_glutil.h +++ b/source/blender/include/BIF_glutil.h @@ -37,6 +37,10 @@ #ifndef BIF_GLUTIL_H #define BIF_GLUTIL_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct rcti; struct rctf; diff --git a/source/blender/include/BIF_graphics.h b/source/blender/include/BIF_graphics.h index 90e77e1fb7e..811135c74d2 100644 --- a/source/blender/include/BIF_graphics.h +++ b/source/blender/include/BIF_graphics.h @@ -33,6 +33,10 @@ #ifndef BIF_GRAPHICS_H #define BIF_GRAPHICS_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* XXX, should move somewhere else, with collected windowing * stuff, to be done once the proper windowing stuff has * been formed. diff --git a/source/blender/include/BIF_imasel.h b/source/blender/include/BIF_imasel.h index 01958f66964..1033fd41be2 100644 --- a/source/blender/include/BIF_imasel.h +++ b/source/blender/include/BIF_imasel.h @@ -32,6 +32,10 @@ #ifndef BIF_IMASEL_H #define BIF_IMASEL_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct SpaceImaSel; struct OneSelectableIma; struct ScrArea; diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index 4246583e58c..72674193443 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -33,6 +33,10 @@ #ifndef BIF_INTERFACE_H #define BIF_INTERFACE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ID; struct ListBase; struct ScrArea; diff --git a/source/blender/include/BIF_keyval.h b/source/blender/include/BIF_keyval.h index 7134bd2b153..55d49e33b5b 100644 --- a/source/blender/include/BIF_keyval.h +++ b/source/blender/include/BIF_keyval.h @@ -33,6 +33,10 @@ #ifndef BIF_KEYVAL_H #define BIF_KEYVAL_H +#ifdef HAVE_CONFIG_H +#include +#endif + char *key_event_to_string(unsigned short event); #endif diff --git a/source/blender/include/BIF_mainqueue.h b/source/blender/include/BIF_mainqueue.h index 48df45bf3bf..4800aead5a7 100644 --- a/source/blender/include/BIF_mainqueue.h +++ b/source/blender/include/BIF_mainqueue.h @@ -35,6 +35,10 @@ #ifndef BIF_MAINQUEUE_H #define BIF_MAINQUEUE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define MAXQUEUE 256 unsigned short mainqtest (void); diff --git a/source/blender/include/BIF_mywindow.h b/source/blender/include/BIF_mywindow.h index 1e581b3dc4b..6db64cea4e3 100644 --- a/source/blender/include/BIF_mywindow.h +++ b/source/blender/include/BIF_mywindow.h @@ -36,6 +36,10 @@ #ifndef BIF_MYWINDOW_H #define BIF_MYWINDOW_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct rcti; /*---*/ diff --git a/source/blender/include/BIF_oops.h b/source/blender/include/BIF_oops.h index bf08e9f1380..4682f6ad61d 100644 --- a/source/blender/include/BIF_oops.h +++ b/source/blender/include/BIF_oops.h @@ -33,6 +33,10 @@ #ifndef BIF_OOPS_H #define BIF_OOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Curve; struct Oops; struct OopsLink; diff --git a/source/blender/include/BIF_poseobject.h b/source/blender/include/BIF_poseobject.h index 872584edfe9..e0afe0afaa3 100644 --- a/source/blender/include/BIF_poseobject.h +++ b/source/blender/include/BIF_poseobject.h @@ -33,6 +33,10 @@ #ifndef BIF_POSEOBJECT #define BIF_POSEOBJECT +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Activates posemode */ diff --git a/source/blender/include/BIF_previewrender.h b/source/blender/include/BIF_previewrender.h index e93c66ce443..8f4c40168b1 100644 --- a/source/blender/include/BIF_previewrender.h +++ b/source/blender/include/BIF_previewrender.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct SpaceButs; void BIF_preview_changed (struct SpaceButs *area); diff --git a/source/blender/include/BIF_renderwin.h b/source/blender/include/BIF_renderwin.h index c91a0710c60..148dec25486 100644 --- a/source/blender/include/BIF_renderwin.h +++ b/source/blender/include/BIF_renderwin.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct ScrArea; void calc_renderwin_rectangle(int posmask, int renderpos_r[2], int rendersize_r[2]); diff --git a/source/blender/include/BIF_resources.h b/source/blender/include/BIF_resources.h index 2a53842adba..80564d47ae5 100644 --- a/source/blender/include/BIF_resources.h +++ b/source/blender/include/BIF_resources.h @@ -33,6 +33,10 @@ #ifndef BIF_RESOURCES_H #define BIF_RESOURCES_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef enum { #define BIFICONID_FIRST (ICON_VIEW3D) ICON_VIEW3D, diff --git a/source/blender/include/BIF_scrarea.h b/source/blender/include/BIF_scrarea.h index bd8facab030..a8b40b2eda0 100644 --- a/source/blender/include/BIF_scrarea.h +++ b/source/blender/include/BIF_scrarea.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/include/BIF_screen.h b/source/blender/include/BIF_screen.h index e92c2933162..fd77ca5f652 100644 --- a/source/blender/include/BIF_screen.h +++ b/source/blender/include/BIF_screen.h @@ -34,6 +34,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef BIF_SCREEN_H #define BIF_SCREEN_H diff --git a/source/blender/include/BIF_space.h b/source/blender/include/BIF_space.h index 7d3deec1be9..edab40ac386 100644 --- a/source/blender/include/BIF_space.h +++ b/source/blender/include/BIF_space.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef BIF_SPACE_H #define BIF_SPACE_H diff --git a/source/blender/include/BIF_spacetypes.h b/source/blender/include/BIF_spacetypes.h index 9de430bf9d2..78cd03ad7a6 100644 --- a/source/blender/include/BIF_spacetypes.h +++ b/source/blender/include/BIF_spacetypes.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct ScrArea; typedef struct _SpaceType SpaceType; diff --git a/source/blender/include/BIF_tbcallback.h b/source/blender/include/BIF_tbcallback.h index 780f36af6f3..0c6e6a3d50c 100644 --- a/source/blender/include/BIF_tbcallback.h +++ b/source/blender/include/BIF_tbcallback.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** /* defines callback structure for toolbox menu */ +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct _TBcallback { char *desc; char *key; diff --git a/source/blender/include/BIF_toets.h b/source/blender/include/BIF_toets.h index ef16186f15f..9a931df5cd7 100644 --- a/source/blender/include/BIF_toets.h +++ b/source/blender/include/BIF_toets.h @@ -33,6 +33,10 @@ #ifndef BIF_TOETS_H #define BIF_TOETS_H +#ifdef HAVE_CONFIG_H +#include +#endif + void BIF_save_rendered_image(void); int save_image_filesel_str(char *str); diff --git a/source/blender/include/BIF_toolbox.h b/source/blender/include/BIF_toolbox.h index 8d63feba1ee..9ed28c6a288 100644 --- a/source/blender/include/BIF_toolbox.h +++ b/source/blender/include/BIF_toolbox.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + /* TBOXX: breedte in pixels */ #define TBOXXL 80 #define TBOXXR 170 diff --git a/source/blender/include/BIF_usiblender.h b/source/blender/include/BIF_usiblender.h index d32c444e5e6..eb47a50015c 100644 --- a/source/blender/include/BIF_usiblender.h +++ b/source/blender/include/BIF_usiblender.h @@ -33,6 +33,10 @@ #ifndef BIF_USIBLENDER_H #define BIF_USIBLENDER_H +#ifdef HAVE_CONFIG_H +#include +#endif + void exit_usiblender(void); void BIF_init(void); diff --git a/source/blender/include/BIF_writeavicodec.h b/source/blender/include/BIF_writeavicodec.h index e096cbd27f3..1bfe8414a4c 100644 --- a/source/blender/include/BIF_writeavicodec.h +++ b/source/blender/include/BIF_writeavicodec.h @@ -33,6 +33,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 void start_avi_codec(void); diff --git a/source/blender/include/BIF_writeimage.h b/source/blender/include/BIF_writeimage.h index 318a4294371..29590f9bf0f 100644 --- a/source/blender/include/BIF_writeimage.h +++ b/source/blender/include/BIF_writeimage.h @@ -33,6 +33,10 @@ #ifndef BIF_WRITEIMAGE_H #define BIF_WRITEIMAGE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ImBuf; struct EnvMap; diff --git a/source/blender/include/BIF_writemovie.h b/source/blender/include/BIF_writemovie.h index 8dab1d4e7f8..c52103a6c85 100644 --- a/source/blender/include/BIF_writemovie.h +++ b/source/blender/include/BIF_writemovie.h @@ -33,6 +33,10 @@ #ifndef BIF_WRITEMOVIE_H #define BIF_WRITEMOVIE_H +#ifdef HAVE_CONFIG_H +#include +#endif + void start_movie(void); void append_movie(int fnum); void end_movie(void); diff --git a/source/blender/include/BSE_buttons.h b/source/blender/include/BSE_buttons.h index dd2332fbec2..117b2d51baf 100644 --- a/source/blender/include/BSE_buttons.h +++ b/source/blender/include/BSE_buttons.h @@ -33,6 +33,10 @@ #ifndef BSE_BUTTONS_H #define BSE_BUTTONS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct ID; void test_meshpoin_but(char *name, struct ID **idpp); diff --git a/source/blender/include/BSE_drawimasel.h b/source/blender/include/BSE_drawimasel.h index 3064c53b4d0..4b8f6c627fa 100644 --- a/source/blender/include/BSE_drawimasel.h +++ b/source/blender/include/BSE_drawimasel.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWIMASEL_H #define BSE_DRAWIMASEL_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct SpaceImaSel; void viewgate(short sx, short sy, short ex, short ey); diff --git a/source/blender/include/BSE_drawipo.h b/source/blender/include/BSE_drawipo.h index 6bb6f717b71..074ed757bbf 100644 --- a/source/blender/include/BSE_drawipo.h +++ b/source/blender/include/BSE_drawipo.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWIPO_H #define BSE_DRAWIPO_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct EditIpo; struct View2D; struct rctf; diff --git a/source/blender/include/BSE_drawnla.h b/source/blender/include/BSE_drawnla.h index b71c604acfe..0809491d173 100644 --- a/source/blender/include/BSE_drawnla.h +++ b/source/blender/include/BSE_drawnla.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWNLA_H #define BSE_DRAWNLA_H +#ifdef HAVE_CONFIG_H +#include +#endif + void drawnlaspace(void); #endif /* BSE_DRAWNLA */ diff --git a/source/blender/include/BSE_drawoops.h b/source/blender/include/BSE_drawoops.h index ef52d9e2c92..116fe8d9d28 100644 --- a/source/blender/include/BSE_drawoops.h +++ b/source/blender/include/BSE_drawoops.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWOOPS_H #define BSE_DRAWOOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Oops; struct uiBlock; diff --git a/source/blender/include/BSE_drawview.h b/source/blender/include/BSE_drawview.h index 69299255b1c..aa206c2dba6 100644 --- a/source/blender/include/BSE_drawview.h +++ b/source/blender/include/BSE_drawview.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWVIEW_H #define BSE_DRAWVIEW_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct BGpic; struct rcti; diff --git a/source/blender/include/BSE_edit.h b/source/blender/include/BSE_edit.h index cb76517fe56..0fc3176e5d2 100644 --- a/source/blender/include/BSE_edit.h +++ b/source/blender/include/BSE_edit.h @@ -33,6 +33,10 @@ #ifndef BSE_EDIT_H #define BSE_EDIT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct rcti; diff --git a/source/blender/include/BSE_editaction.h b/source/blender/include/BSE_editaction.h index 841549de260..8beb5479a8f 100644 --- a/source/blender/include/BSE_editaction.h +++ b/source/blender/include/BSE_editaction.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITACTION_H #define BSE_EDITACTION_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bAction; struct bActionChannel; struct bPoseChannel; diff --git a/source/blender/include/BSE_editaction_types.h b/source/blender/include/BSE_editaction_types.h index 16e4890daef..e28e82ce2c6 100644 --- a/source/blender/include/BSE_editaction_types.h +++ b/source/blender/include/BSE_editaction_types.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITACTION_TYPES_H #define BSE_EDITACTION_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define CHANNELHEIGHT 16 #define CHANNELSKIP 2 #define ACTWIDTH 128 diff --git a/source/blender/include/BSE_editipo.h b/source/blender/include/BSE_editipo.h index 69fb9dd65ac..334c1e452ba 100644 --- a/source/blender/include/BSE_editipo.h +++ b/source/blender/include/BSE_editipo.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITIPO_H #define BSE_EDITIPO_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct TransVert; struct IpoCurve; struct BezTriple; diff --git a/source/blender/include/BSE_editipo_types.h b/source/blender/include/BSE_editipo_types.h index b21cdcee7aa..1129df2117b 100644 --- a/source/blender/include/BSE_editipo_types.h +++ b/source/blender/include/BSE_editipo_types.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITIPO_TYPES_H #define BSE_EDITIPO_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct BezTriple; typedef struct IpoKey { diff --git a/source/blender/include/BSE_editnla_types.h b/source/blender/include/BSE_editnla_types.h index 4316b857568..6745fc6aa92 100644 --- a/source/blender/include/BSE_editnla_types.h +++ b/source/blender/include/BSE_editnla_types.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITNLA_TYPES_H #define BSE_EDITNLA_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define NLAWIDTH 196 #define NLACHANNELHEIGHT 16 #define NLACHANNELSKIP 1 diff --git a/source/blender/include/BSE_filesel.h b/source/blender/include/BSE_filesel.h index 87daea87bf2..00a781ce23b 100644 --- a/source/blender/include/BSE_filesel.h +++ b/source/blender/include/BSE_filesel.h @@ -34,6 +34,10 @@ #ifndef BSE_FILESEL_H #define BSE_FILESEL_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct SpaceFile; struct direntry; struct ID; diff --git a/source/blender/include/BSE_headerbuttons.h b/source/blender/include/BSE_headerbuttons.h index 3399911e189..16f344fedc5 100644 --- a/source/blender/include/BSE_headerbuttons.h +++ b/source/blender/include/BSE_headerbuttons.h @@ -33,6 +33,10 @@ #ifndef BSE_HEADERBUTTONS_H #define BSE_HEADERBUTTONS_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct uiBlock; struct ID; diff --git a/source/blender/include/BSE_sequence.h b/source/blender/include/BSE_sequence.h index 43a8a627824..796dae48f27 100644 --- a/source/blender/include/BSE_sequence.h +++ b/source/blender/include/BSE_sequence.h @@ -34,6 +34,10 @@ #ifndef BSE_SEQUENCE_H #define BSE_SEQUENCE_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct PluginSeq; struct StripElem; struct Strip; diff --git a/source/blender/include/BSE_trans_types.h b/source/blender/include/BSE_trans_types.h index 63f3968da42..746bc03a00b 100644 --- a/source/blender/include/BSE_trans_types.h +++ b/source/blender/include/BSE_trans_types.h @@ -33,6 +33,10 @@ #ifndef BSE_TRANS_TYPES_H #define BSE_TRANS_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; /* struct EditVlak; */ /* struct EditEdge; */ diff --git a/source/blender/include/BSE_types.h b/source/blender/include/BSE_types.h index cc241465dfa..37f0b8e6cc5 100644 --- a/source/blender/include/BSE_types.h +++ b/source/blender/include/BSE_types.h @@ -32,6 +32,10 @@ /* forward declarations for some prototype header */ /* these may wildly occur in other header files, too */ +#ifdef HAVE_CONFIG_H +#include +#endif + struct BGpic; struct SpaceText; struct Oops; diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h index e6477012c8a..2ef720dcd51 100644 --- a/source/blender/include/BSE_view.h +++ b/source/blender/include/BSE_view.h @@ -34,6 +34,10 @@ #ifndef BSE_VIEW_H #define BSE_VIEW_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct BoundBox; struct View3D; diff --git a/source/blender/include/LOD_DependKludge.h b/source/blender/include/LOD_DependKludge.h index 65a57971c39..16d0ee8c463 100644 --- a/source/blender/include/LOD_DependKludge.h +++ b/source/blender/include/LOD_DependKludge.h @@ -34,6 +34,9 @@ #ifndef LOD_DEPENDKLUDGE_H #define LOD_DEPENDKLUDGE_H +#ifdef HAVE_CONFIG_H +#include +#endif #define NAN_DECIMATION diff --git a/source/blender/include/TPT_DependKludge.h b/source/blender/include/TPT_DependKludge.h index 32ad32ad29c..ed7a4e19da7 100644 --- a/source/blender/include/TPT_DependKludge.h +++ b/source/blender/include/TPT_DependKludge.h @@ -34,6 +34,9 @@ #ifndef TPT_DEPENDKLUDGE_H #define TPT_DEPENDKLUDGE_H +#ifdef HAVE_CONFIG_H +#include +#endif #define NAN_TPT //#undef NAN_TPT diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h index 1dbc0a78701..c1e34a528fd 100644 --- a/source/blender/include/blendef.h +++ b/source/blender/include/blendef.h @@ -31,6 +31,10 @@ #ifndef BLENDEF_H #define BLENDEF_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #else #ifndef __BeOS diff --git a/source/blender/include/datatoc.h b/source/blender/include/datatoc.h index 51a1cf6204a..79a7b5f39f7 100644 --- a/source/blender/include/datatoc.h +++ b/source/blender/include/datatoc.h @@ -35,6 +35,10 @@ #ifndef DATATOC_H #define DATATOC_H +#ifdef HAVE_CONFIG_H +#include +#endif + extern int datatoc_B_blend_size; extern char datatoc_B_blend[]; diff --git a/source/blender/include/editlattice_ext.h b/source/blender/include/editlattice_ext.h index afb109df5f7..6fa0c8a989b 100644 --- a/source/blender/include/editlattice_ext.h +++ b/source/blender/include/editlattice_ext.h @@ -36,6 +36,10 @@ #define EDITLATTICE_EXT_H "$Id$" #define EDITLATTICE_EXT_H "Copyright (C) 2001 NaN Technologies B.V. +#ifdef HAVE_CONFIG_H +#include +#endif + void end_latt_deform(void); #endif /* EDITLATTICE_EXT_H */ diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h index 3f37b5fe52e..fe20a365cf2 100644 --- a/source/blender/include/interface.h +++ b/source/blender/include/interface.h @@ -33,6 +33,10 @@ #ifndef INTERFACE_H #define INTERFACE_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* general defines */ #define UI_MAX_DRAW_STR 180 diff --git a/source/blender/include/ipo.h b/source/blender/include/ipo.h index 4336076dfd1..35c5b0d95f6 100644 --- a/source/blender/include/ipo.h +++ b/source/blender/include/ipo.h @@ -37,6 +37,10 @@ #ifndef IPO_H #define IPO_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct BezTriple; typedef struct IpoKey { diff --git a/source/blender/include/keyed_functions.h b/source/blender/include/keyed_functions.h index d0315c6d8fa..d1b09c40909 100644 --- a/source/blender/include/keyed_functions.h +++ b/source/blender/include/keyed_functions.h @@ -29,6 +29,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif #define KEY_GETPTR(x) (g_ptrtab ? g_ptrtab[x] : 0) diff --git a/source/blender/include/license_key.h b/source/blender/include/license_key.h index 1346998f520..fe5c4e89392 100644 --- a/source/blender/include/license_key.h +++ b/source/blender/include/license_key.h @@ -32,6 +32,10 @@ #ifndef LICENCEKEY_H #define LICENCEKEY_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define I_AM_PUBLISHER temp_val2 #define LICENSE_KEY_VALID temp_val #define SHOW_LICENSE_KEY rotop diff --git a/source/blender/include/mydevice.h b/source/blender/include/mydevice.h index a66639bf07e..ecc13672d06 100644 --- a/source/blender/include/mydevice.h +++ b/source/blender/include/mydevice.h @@ -38,7 +38,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ - +#ifdef HAVE_CONFIG_H +#include +#endif /* MOUSE : 0x00x */ diff --git a/source/blender/include/nla.h b/source/blender/include/nla.h index d5685f9550e..6bd6518c4ab 100644 --- a/source/blender/include/nla.h +++ b/source/blender/include/nla.h @@ -53,6 +53,10 @@ #ifndef NLA_H #define NLA_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define __NLA #define __NLA_BAKE // Not for release: Not yet fully implemented diff --git a/source/blender/include/objfnt.h b/source/blender/include/objfnt.h index e54b7b5e1e3..906b8a5a1cc 100644 --- a/source/blender/include/objfnt.h +++ b/source/blender/include/objfnt.h @@ -31,6 +31,10 @@ #ifndef OBJFNTDEF #define OBJFNTDEF +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct chardesc { short movex, movey; /* advance */ short llx, lly; /* bounding box */ diff --git a/source/blender/include/particle_effect.h b/source/blender/include/particle_effect.h index 86a0417b807..776714e8263 100644 --- a/source/blender/include/particle_effect.h +++ b/source/blender/include/particle_effect.h @@ -34,6 +34,10 @@ #ifndef PARTICLE_EFFECT_H #define PARTICLE_EFFECT_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* effect.c */ extern Effect *add_effect(int type); extern PartEff *give_parteff(Object *ob); diff --git a/source/blender/include/playanim_ext.h b/source/blender/include/playanim_ext.h index bef610ac018..6da88e434c7 100644 --- a/source/blender/include/playanim_ext.h +++ b/source/blender/include/playanim_ext.h @@ -34,6 +34,10 @@ #ifndef PLAYANIM_EXT_H #define PLAYANIM_EXT_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* used in apps */ extern void playanim(int argc, char **argv); diff --git a/source/blender/inflate/BLO_in_de_flateHeader.h b/source/blender/inflate/BLO_in_de_flateHeader.h index 6504dd66a80..ddc725df02a 100644 --- a/source/blender/inflate/BLO_in_de_flateHeader.h +++ b/source/blender/inflate/BLO_in_de_flateHeader.h @@ -34,6 +34,10 @@ #ifndef BLO_IN_DE_FLATE_H #define BLO_IN_DE_FLATE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/inflate/BLO_inflate.h b/source/blender/inflate/BLO_inflate.h index 7e8895e95dc..5cecac1d2fd 100644 --- a/source/blender/inflate/BLO_inflate.h +++ b/source/blender/inflate/BLO_inflate.h @@ -34,6 +34,10 @@ #ifndef BLO_INFLATE_H #define BLO_INFLATE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index f99de9106a8..c6628785022 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -36,6 +36,10 @@ #ifndef DNA_ID_H #define DNA_ID_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 6be0096f0fb..b8d8c6436a3 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -39,6 +39,10 @@ #ifndef DNA_ACTION_TYPES_H #define DNA_ACTION_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" #include "DNA_view2d_types.h" diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h index 40a6c4a80a0..d2c37ba59e3 100644 --- a/source/blender/makesdna/DNA_actuator_types.h +++ b/source/blender/makesdna/DNA_actuator_types.h @@ -34,6 +34,10 @@ #ifndef DNA_ACTUATOR_TYPES_H #define DNA_ACTUATOR_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct Mesh; struct Scene; diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h index 79bd4c6156a..293c9d4e641 100644 --- a/source/blender/makesdna/DNA_armature_types.h +++ b/source/blender/makesdna/DNA_armature_types.h @@ -30,10 +30,13 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ - #ifndef DNA_ARMATURE_TYPES_H #define DNA_ARMATURE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h index 61286c846b9..7dbcc1ea67c 100644 --- a/source/blender/makesdna/DNA_camera_types.h +++ b/source/blender/makesdna/DNA_camera_types.h @@ -37,6 +37,10 @@ #include "DNA_ID.h" #include "DNA_scriptlink_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index 02199b9aa01..09a2e97e2f9 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -34,6 +34,10 @@ #ifndef DNA_CONSTRAINT_TYPES_H #define DNA_CONSTRAINT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" #include "DNA_ipo_types.h" #include "DNA_object_types.h" diff --git a/source/blender/makesdna/DNA_controller_types.h b/source/blender/makesdna/DNA_controller_types.h index b8bffd68db8..bb2543ac458 100644 --- a/source/blender/makesdna/DNA_controller_types.h +++ b/source/blender/makesdna/DNA_controller_types.h @@ -34,6 +34,10 @@ #ifndef DNA_CONTROLLER_TYPES_H #define DNA_CONTROLLER_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bActuator; struct Text; struct bSensor; diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 55d38171a10..2ffb7327dc0 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -36,6 +36,10 @@ #ifndef DNA_CURVE_TYPES_H #define DNA_CURVE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_vec_types.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_effect_types.h b/source/blender/makesdna/DNA_effect_types.h index 4d843772ce9..b5aaba5c5fc 100644 --- a/source/blender/makesdna/DNA_effect_types.h +++ b/source/blender/makesdna/DNA_effect_types.h @@ -34,6 +34,10 @@ #ifndef DNA_EFFECT_TYPES_H #define DNA_EFFECT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* DENK ERAAN: NIEUWE EFFECTEN OOK IN DE WRITEFILE.C IVM DNA!!! */ #define PAF_MAXMULT 4 diff --git a/source/blender/makesdna/DNA_fileglobal_types.h b/source/blender/makesdna/DNA_fileglobal_types.h index 1d1d5b2b7f7..7a50cfce422 100644 --- a/source/blender/makesdna/DNA_fileglobal_types.h +++ b/source/blender/makesdna/DNA_fileglobal_types.h @@ -34,6 +34,10 @@ #ifndef DNA_FILEGLOBAL_TYPES_H #define DNA_FILEGLOBAL_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** * FileGlobal stores a part of the current user-unterface settings at * the moment of saving, and the file-specific settings. diff --git a/source/blender/makesdna/DNA_group_types.h b/source/blender/makesdna/DNA_group_types.h index f7139101476..68ec82b4620 100644 --- a/source/blender/makesdna/DNA_group_types.h +++ b/source/blender/makesdna/DNA_group_types.h @@ -34,6 +34,10 @@ #ifndef DNA_GROUP_TYPES_H #define DNA_GROUP_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_ika_types.h b/source/blender/makesdna/DNA_ika_types.h index 9024672fa01..b2dc1550ba1 100644 --- a/source/blender/makesdna/DNA_ika_types.h +++ b/source/blender/makesdna/DNA_ika_types.h @@ -40,6 +40,11 @@ #include "DNA_listBase.h" #include "DNA_ID.h" +#ifdef HAVE_CONFIG_H +#include +#endif + + struct Object; struct Ipo; diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h index a2dfdf00fd8..9683ed68599 100644 --- a/source/blender/makesdna/DNA_image_types.h +++ b/source/blender/makesdna/DNA_image_types.h @@ -34,6 +34,10 @@ #ifndef DNA_IMAGE_TYPES_H #define DNA_IMAGE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" struct PackedFile; diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h index 1ee62ac2640..ea9084006f5 100644 --- a/source/blender/makesdna/DNA_ipo_types.h +++ b/source/blender/makesdna/DNA_ipo_types.h @@ -34,6 +34,10 @@ #ifndef DNA_IPO_TYPES_H #define DNA_IPO_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_vec_types.h" diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h index 55f6d81aa06..4506b284a19 100644 --- a/source/blender/makesdna/DNA_key_types.h +++ b/source/blender/makesdna/DNA_key_types.h @@ -37,6 +37,10 @@ #include "DNA_listBase.h" #include "DNA_ID.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct Ipo; typedef struct KeyBlock { diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h index 0722c5d8cb6..5e00e5cf500 100644 --- a/source/blender/makesdna/DNA_lamp_types.h +++ b/source/blender/makesdna/DNA_lamp_types.h @@ -37,6 +37,10 @@ #include "DNA_ID.h" #include "DNA_scriptlink_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct MTex; struct Ipo; diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h index 43649467b96..5e44bf704e9 100644 --- a/source/blender/makesdna/DNA_lattice_types.h +++ b/source/blender/makesdna/DNA_lattice_types.h @@ -36,6 +36,10 @@ #ifndef DNA_LATTICE_TYPES_H #define DNA_LATTICE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" struct BPoint; diff --git a/source/blender/makesdna/DNA_listBase.h b/source/blender/makesdna/DNA_listBase.h index 10a1b59fb01..a4feebfe0cc 100644 --- a/source/blender/makesdna/DNA_listBase.h +++ b/source/blender/makesdna/DNA_listBase.h @@ -39,6 +39,10 @@ #ifndef DNA_LISTBASE_H #define DNA_LISTBASE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index d21b27897ed..5c9cd3c9999 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -34,6 +34,10 @@ #ifndef DNA_MATERIAL_TYPES_H #define DNA_MATERIAL_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* #include "BLI_listBase.h" */ #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 6c04a243020..43a167ccfa1 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -36,6 +36,10 @@ #ifndef DNA_MESH_TYPES_H #define DNA_MESH_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h index b227655a893..18c9e3f5335 100644 --- a/source/blender/makesdna/DNA_meta_types.h +++ b/source/blender/makesdna/DNA_meta_types.h @@ -34,6 +34,11 @@ #ifndef DNA_META_TYPES_H #define DNA_META_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_nla_types.h b/source/blender/makesdna/DNA_nla_types.h index f178998eed3..68e54f5db23 100644 --- a/source/blender/makesdna/DNA_nla_types.h +++ b/source/blender/makesdna/DNA_nla_types.h @@ -30,10 +30,13 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ - #ifndef DNA_NLA_TYPES_H #define DNA_NLA_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct bAction; struct Ipo; diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 2878442a0f3..e3b29bafe61 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -36,6 +36,10 @@ #ifndef DNA_OBJECT_TYPES_H #define DNA_OBJECT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" #include "DNA_scriptlink_types.h" diff --git a/source/blender/makesdna/DNA_oops_types.h b/source/blender/makesdna/DNA_oops_types.h index 52130c113cc..625c87f351b 100644 --- a/source/blender/makesdna/DNA_oops_types.h +++ b/source/blender/makesdna/DNA_oops_types.h @@ -34,6 +34,10 @@ #ifndef DNA_OOPS_TYPES_H #define DNA_OOPS_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define OOPSX 5.0 #define OOPSY 1.8 diff --git a/source/blender/makesdna/DNA_packedFile_types.h b/source/blender/makesdna/DNA_packedFile_types.h index 7c4dc58006a..71e5f03118c 100644 --- a/source/blender/makesdna/DNA_packedFile_types.h +++ b/source/blender/makesdna/DNA_packedFile_types.h @@ -36,6 +36,10 @@ #ifndef DNA_PACKEDFILE_TYPES_H #define DNA_PACKEDFILE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct PackedFile { int size; int seek; diff --git a/source/blender/makesdna/DNA_property_types.h b/source/blender/makesdna/DNA_property_types.h index e46d557cc8b..1614d52db88 100644 --- a/source/blender/makesdna/DNA_property_types.h +++ b/source/blender/makesdna/DNA_property_types.h @@ -37,6 +37,10 @@ #ifndef DNA_PROPERTY_TYPES_H #define DNA_PROPERTY_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* ********************* PROPERTY ************************ */ typedef struct bProperty { diff --git a/source/blender/makesdna/DNA_radio_types.h b/source/blender/makesdna/DNA_radio_types.h index 29fd2bf082d..d04607a12ce 100644 --- a/source/blender/makesdna/DNA_radio_types.h +++ b/source/blender/makesdna/DNA_radio_types.h @@ -38,6 +38,10 @@ #ifndef DNA_RADIO_TYPES_H #define DNA_RADIO_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct Radio { short hemires, maxiter; short drawtype, flag; /* bit 0 en 1: limits laten zien */ diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 3cc676587be..268ed5d86f1 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -37,6 +37,10 @@ #ifndef DNA_SCENE_TYPES_H #define DNA_SCENE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 7fee3f7ca17..56f5fab4ef3 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -34,6 +34,10 @@ #ifndef DNA_SCREEN_TYPES_H #define DNA_SCREEN_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_vec_types.h" diff --git a/source/blender/makesdna/DNA_scriptlink_types.h b/source/blender/makesdna/DNA_scriptlink_types.h index 4816c934202..48f68115191 100644 --- a/source/blender/makesdna/DNA_scriptlink_types.h +++ b/source/blender/makesdna/DNA_scriptlink_types.h @@ -36,6 +36,10 @@ #ifndef DNA_SCRIPTLINK_TYPES_H #define DNA_SCRIPTLINK_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_sdna_types.h b/source/blender/makesdna/DNA_sdna_types.h index cdc0c33fb42..89daad462d2 100644 --- a/source/blender/makesdna/DNA_sdna_types.h +++ b/source/blender/makesdna/DNA_sdna_types.h @@ -34,6 +34,10 @@ #ifndef DNA_SDNA_H #define DNA_SDNA_H +#ifdef HAVE_CONFIG_H +#include +#endif + # # struct SDNA { diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h index d6192242da4..1a625fea1eb 100644 --- a/source/blender/makesdna/DNA_sensor_types.h +++ b/source/blender/makesdna/DNA_sensor_types.h @@ -34,6 +34,10 @@ #ifndef DNA_SENSOR_TYPES_H #define DNA_SENSOR_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct Material; diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index d7d72788c7a..2fc3ea7c199 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -34,6 +34,10 @@ #ifndef DNA_SEQUENCE_TYPES_H #define DNA_SEQUENCE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" struct Ipo; diff --git a/source/blender/makesdna/DNA_sound_types.h b/source/blender/makesdna/DNA_sound_types.h index 41429a0217e..75d03ef6c19 100644 --- a/source/blender/makesdna/DNA_sound_types.h +++ b/source/blender/makesdna/DNA_sound_types.h @@ -34,6 +34,10 @@ #ifndef DNA_SOUND_TYPES_H #define DNA_SOUND_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 5abc9b47c05..0a2a1246d1f 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -34,6 +34,10 @@ #ifndef DNA_SPACE_TYPES_H #define DNA_SPACE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_vec_types.h" /* Hum ... Not really nice... but needed for spacebuts. */ diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h index 264ca33013c..0bdbd3c28a4 100644 --- a/source/blender/makesdna/DNA_text_types.h +++ b/source/blender/makesdna/DNA_text_types.h @@ -34,6 +34,10 @@ #ifndef DNA_TEXT_TYPES_H #define DNA_TEXT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index 9a222850519..906a082005c 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -34,6 +34,10 @@ #ifndef DNA_TEXTURE_TYPES_H #define DNA_TEXTURE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" struct Ipo; diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 38b4d3e6e07..73eb6cdadb2 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -35,6 +35,10 @@ #ifndef DNA_USERDEF_TYPES_H #define DNA_USERDEF_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct UserDef { short flag, dupflag; int savetime; diff --git a/source/blender/makesdna/DNA_vec_types.h b/source/blender/makesdna/DNA_vec_types.h index 97494499e10..ce7e10d7b86 100644 --- a/source/blender/makesdna/DNA_vec_types.h +++ b/source/blender/makesdna/DNA_vec_types.h @@ -36,6 +36,10 @@ #ifndef DNA_VEC_TYPES_H #define DNA_VEC_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* types */ typedef struct vec2s { diff --git a/source/blender/makesdna/DNA_vfont_types.h b/source/blender/makesdna/DNA_vfont_types.h index 5f9e3f61446..3086aa99484 100644 --- a/source/blender/makesdna/DNA_vfont_types.h +++ b/source/blender/makesdna/DNA_vfont_types.h @@ -34,6 +34,10 @@ #ifndef DNA_VFONT_TYPES_H #define DNA_VFONT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" struct PackedFile; diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index a0d9bf53b7a..3b3291a9d05 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -34,6 +34,10 @@ #ifndef DNA_VIEW2D_TYPES_H #define DNA_VIEW2D_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_vec_types.h" typedef struct View2D { diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 1cae50f58a6..9f2ab991942 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -34,6 +34,10 @@ #ifndef DNA_VIEW3D_TYPES_H #define DNA_VIEW3D_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; struct Image; struct Tex; diff --git a/source/blender/makesdna/DNA_wave_types.h b/source/blender/makesdna/DNA_wave_types.h index e8f2607cee4..402ea0e94cf 100644 --- a/source/blender/makesdna/DNA_wave_types.h +++ b/source/blender/makesdna/DNA_wave_types.h @@ -34,6 +34,10 @@ #ifndef DNA_WAVE_TYPES_H #define DNA_WAVE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" struct Ipo; diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h index 91e205e4038..405dcabe7c6 100644 --- a/source/blender/makesdna/DNA_world_types.h +++ b/source/blender/makesdna/DNA_world_types.h @@ -34,6 +34,10 @@ #ifndef DNA_WORLD_TYPES_H #define DNA_WORLD_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" #include "DNA_scriptlink_types.h" diff --git a/source/blender/misc/blendertimer.h b/source/blender/misc/blendertimer.h index 444f977be4d..f2b47c3a3ba 100644 --- a/source/blender/misc/blendertimer.h +++ b/source/blender/misc/blendertimer.h @@ -38,6 +38,10 @@ #ifndef BLENDERTIMER_H #define BLENDERTIMER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/radiosity/extern/include/radio.h b/source/blender/radiosity/extern/include/radio.h index 23190a02ec2..3c949055fdc 100644 --- a/source/blender/radiosity/extern/include/radio.h +++ b/source/blender/radiosity/extern/include/radio.h @@ -43,6 +43,10 @@ /* type include */ #include "radio_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + extern RadGlobal RG; /* radfactors.c */ diff --git a/source/blender/radiosity/extern/include/radio_types.h b/source/blender/radiosity/extern/include/radio_types.h index b485495e845..a0f9445355a 100644 --- a/source/blender/radiosity/extern/include/radio_types.h +++ b/source/blender/radiosity/extern/include/radio_types.h @@ -41,6 +41,10 @@ #include "DNA_listBase.h" #include "DNA_material_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #define DTWIRE 0 #define DTGOUR 2 #define DTSOLID 1 diff --git a/source/blender/readblenfile/BLO_readblenfile.h b/source/blender/readblenfile/BLO_readblenfile.h index d1b89d8dc97..6158e4d87e0 100644 --- a/source/blender/readblenfile/BLO_readblenfile.h +++ b/source/blender/readblenfile/BLO_readblenfile.h @@ -34,6 +34,10 @@ #ifndef BLO_READBLENFILE_H #define BLO_READBLENFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/readstreamglue/BLO_keyStore.h b/source/blender/readstreamglue/BLO_keyStore.h index 0b4bded6d97..524740a5cb0 100644 --- a/source/blender/readstreamglue/BLO_keyStore.h +++ b/source/blender/readstreamglue/BLO_keyStore.h @@ -34,6 +34,10 @@ #ifndef BLO_KEYSTORE_H #define BLO_KEYSTORE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/readstreamglue/BLO_readStreamErrors.h b/source/blender/readstreamglue/BLO_readStreamErrors.h index f49b0a45a0b..c5ae3b1cd4b 100644 --- a/source/blender/readstreamglue/BLO_readStreamErrors.h +++ b/source/blender/readstreamglue/BLO_readStreamErrors.h @@ -34,6 +34,10 @@ #ifndef BLO_READSTREAMERRORS_H #define BLO_READSTREAMERRORS_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/readstreamglue/BLO_readStreamGlue.h b/source/blender/readstreamglue/BLO_readStreamGlue.h index ccd322cc97a..ac9ef921192 100644 --- a/source/blender/readstreamglue/BLO_readStreamGlue.h +++ b/source/blender/readstreamglue/BLO_readStreamGlue.h @@ -34,6 +34,10 @@ #ifndef BLO_READSTREAMGLUE_H #define BLO_READSTREAMGLUE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/readstreamglue/BLO_sys_types.h b/source/blender/readstreamglue/BLO_sys_types.h index 4ae5eca51da..558982158a8 100644 --- a/source/blender/readstreamglue/BLO_sys_types.h +++ b/source/blender/readstreamglue/BLO_sys_types.h @@ -43,6 +43,10 @@ #ifndef BLO_SYS_TYPES_H #define BLO_SYS_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/readstreamglue/intern/BLO_keyStorePrivate.h b/source/blender/readstreamglue/intern/BLO_keyStorePrivate.h index f340927e415..6cabaad255d 100644 --- a/source/blender/readstreamglue/intern/BLO_keyStorePrivate.h +++ b/source/blender/readstreamglue/intern/BLO_keyStorePrivate.h @@ -33,6 +33,10 @@ #ifndef BLO_KEYSTOREPRIVATE_H #define BLO_KEYSTOREPRIVATE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/readstreamglue/intern/BLO_readStreamGlueLoopBack.h b/source/blender/readstreamglue/intern/BLO_readStreamGlueLoopBack.h index 148b5016eb4..1b32176bf3b 100644 --- a/source/blender/readstreamglue/intern/BLO_readStreamGlueLoopBack.h +++ b/source/blender/readstreamglue/intern/BLO_readStreamGlueLoopBack.h @@ -31,6 +31,10 @@ * streamglue loopback. Needed at start of Read stream. */ +#ifdef HAVE_CONFIG_H +#include +#endif + struct readStreamGlueLoopBackStruct { struct readStreamGlueStruct *streamGlue; void *endControl; diff --git a/source/blender/render/extern/include/render.h b/source/blender/render/extern/include/render.h index cc5a4fe0b99..a7aa4b95e43 100644 --- a/source/blender/render/extern/include/render.h +++ b/source/blender/render/extern/include/render.h @@ -44,6 +44,10 @@ #include "BKE_osa_types.h" #include "DNA_material_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/extern/include/render_types.h b/source/blender/render/extern/include/render_types.h index 2fe02bb2d14..1829262519d 100644 --- a/source/blender/render/extern/include/render_types.h +++ b/source/blender/render/extern/include/render_types.h @@ -37,6 +37,10 @@ #include "DNA_world_types.h" /* ------------------------------------------------------------------------- */ +#ifdef HAVE_CONFIG_H +#include +#endif + /* Definitely weird: this equals 1<<21... so wtf?*/ #define MAXVERT (2<<20) #define MAXVLAK (2<<20) diff --git a/source/blender/render/intern/include/RE_DummyShadowBuffer.h b/source/blender/render/intern/include/RE_DummyShadowBuffer.h index 2522943fff2..e41651c21c4 100644 --- a/source/blender/render/intern/include/RE_DummyShadowBuffer.h +++ b/source/blender/render/intern/include/RE_DummyShadowBuffer.h @@ -35,6 +35,10 @@ #include "RE_ShadowBuffer.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct LampRen; class RE_DummyShadowBuffer : public RE_ShadowBuffer { diff --git a/source/blender/render/intern/include/RE_ShadowBuffer.h b/source/blender/render/intern/include/RE_ShadowBuffer.h index c501b3b1b82..36e719a6736 100644 --- a/source/blender/render/intern/include/RE_ShadowBuffer.h +++ b/source/blender/render/intern/include/RE_ShadowBuffer.h @@ -35,6 +35,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + struct ShadBuf; struct LampRen; diff --git a/source/blender/render/intern/include/RE_basicShadowBuffer.h b/source/blender/render/intern/include/RE_basicShadowBuffer.h index 2bf9fcd1ff0..79f5ffd1ab4 100644 --- a/source/blender/render/intern/include/RE_basicShadowBuffer.h +++ b/source/blender/render/intern/include/RE_basicShadowBuffer.h @@ -35,6 +35,10 @@ #include "RE_ShadowBuffer.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct LampRen; struct Lamp; diff --git a/source/blender/render/intern/include/RE_callbacks.h b/source/blender/render/intern/include/RE_callbacks.h index 159eaa84ca4..8a53923cb8b 100644 --- a/source/blender/render/intern/include/RE_callbacks.h +++ b/source/blender/render/intern/include/RE_callbacks.h @@ -34,6 +34,10 @@ #ifndef RE_CALLBACKS_H #define RE_CALLBACKS_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/intern/include/edgeRender.h b/source/blender/render/intern/include/edgeRender.h index ef22ecf51f7..63b0ab1c99d 100644 --- a/source/blender/render/intern/include/edgeRender.h +++ b/source/blender/render/intern/include/edgeRender.h @@ -34,6 +34,11 @@ #ifndef EDGERENDER_H #define EDGERENDER_H + +#ifdef HAVE_CONFIG_H +#include +#endif + /* ------------------------------------------------------------------------- */ /** diff --git a/source/blender/render/intern/include/envmap.h b/source/blender/render/intern/include/envmap.h index 62640454151..89ec76a9f08 100644 --- a/source/blender/render/intern/include/envmap.h +++ b/source/blender/render/intern/include/envmap.h @@ -35,6 +35,10 @@ #ifndef ENVMAP_EXT_H #define ENVMAP_EXT_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* no types!!! */ /* #include "envmap_types.h" */ diff --git a/source/blender/render/intern/include/errorHandler.h b/source/blender/render/intern/include/errorHandler.h index a5fa49bd2c6..4878ba571a5 100644 --- a/source/blender/render/intern/include/errorHandler.h +++ b/source/blender/render/intern/include/errorHandler.h @@ -35,6 +35,10 @@ #ifndef ERRORHANDLER_H #define ERRORHANDLER_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* ------------------------------------------------------------------------- */ /* error codes */ enum RE_RENDER_ERROR { diff --git a/source/blender/render/intern/include/gammaCorrectionTables.h b/source/blender/render/intern/include/gammaCorrectionTables.h index 2ba430c1f3d..2bef629582d 100644 --- a/source/blender/render/intern/include/gammaCorrectionTables.h +++ b/source/blender/render/intern/include/gammaCorrectionTables.h @@ -35,6 +35,9 @@ #ifndef GAMMACORRECTIONTABLES_H #define GAMMACORRECTIONTABLES_H +#ifdef HAVE_CONFIG_H +#include +#endif /* Default gamma. For most CRTs, gamma ranges from 2.2 to 2.5 (Foley), so */ diff --git a/source/blender/render/intern/include/initrender.h b/source/blender/render/intern/include/initrender.h index 06c5f032c7d..79f376aa10c 100644 --- a/source/blender/render/intern/include/initrender.h +++ b/source/blender/render/intern/include/initrender.h @@ -40,6 +40,10 @@ #include "DNA_effect_types.h" /* for PartEff type */ #include "render_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /* Functions */ void init_def_material(void); diff --git a/source/blender/render/intern/include/jitter.h b/source/blender/render/intern/include/jitter.h index beae4af0a40..93cef086b75 100644 --- a/source/blender/render/intern/include/jitter.h +++ b/source/blender/render/intern/include/jitter.h @@ -35,6 +35,10 @@ #ifndef JITTER_H #define JITTER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/intern/include/old_zbuffer_types.h b/source/blender/render/intern/include/old_zbuffer_types.h index 7d2a38884d8..8280fdf6c77 100644 --- a/source/blender/render/intern/include/old_zbuffer_types.h +++ b/source/blender/render/intern/include/old_zbuffer_types.h @@ -34,6 +34,10 @@ #ifndef OLD_ZBUFFER_TYPES_H #define OLD_ZBUFFER_TYPES_H "$Id$" +#ifdef HAVE_CONFIG_H +#include +#endif + /* ------------------------------------------------------------------------- */ typedef struct PixStr diff --git a/source/blender/render/intern/include/outerRenderLoop.h b/source/blender/render/intern/include/outerRenderLoop.h index 1c0faf666ae..fb46475d70d 100644 --- a/source/blender/render/intern/include/outerRenderLoop.h +++ b/source/blender/render/intern/include/outerRenderLoop.h @@ -35,6 +35,10 @@ #ifndef OUTERRENDERLOOP_H #define OUTERRENDERLOOP_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Outer loop for rendering a single picture. */ diff --git a/source/blender/render/intern/include/pixelblending.h b/source/blender/render/intern/include/pixelblending.h index 04fc037865f..316f6dc34dd 100644 --- a/source/blender/render/intern/include/pixelblending.h +++ b/source/blender/render/intern/include/pixelblending.h @@ -42,6 +42,11 @@ /* own include */ #include "pixelblending_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + + /** * Samples pixel, depending on R.osa setting */ diff --git a/source/blender/render/intern/include/pixelblending_types.h b/source/blender/render/intern/include/pixelblending_types.h index 71e2baa994c..18cd1e0bd70 100644 --- a/source/blender/render/intern/include/pixelblending_types.h +++ b/source/blender/render/intern/include/pixelblending_types.h @@ -36,6 +36,10 @@ #ifndef PIXELBLENDING_TYPES_H #define PIXELBLENDING_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* #include "blender.h" */ /* Threshold for a 'full' pixel: pixels with alpha above this level are */ diff --git a/source/blender/render/intern/include/pixelshading.h b/source/blender/render/intern/include/pixelshading.h index ef9e84241f8..45669e8b121 100644 --- a/source/blender/render/intern/include/pixelshading.h +++ b/source/blender/render/intern/include/pixelshading.h @@ -37,6 +37,10 @@ #ifndef PIXELSHADING_H #define PIXELSHADING_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* ------------------------------------------------------------------------- */ #include "render.h" diff --git a/source/blender/render/intern/include/renderHelp.h b/source/blender/render/intern/include/renderHelp.h index 318b538d510..89ace11fa1e 100644 --- a/source/blender/render/intern/include/renderHelp.h +++ b/source/blender/render/intern/include/renderHelp.h @@ -35,6 +35,10 @@ #ifndef RENDERHELP_EXT_H #define RENDERHELP_EXT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/intern/include/renderPreAndPost.h b/source/blender/render/intern/include/renderPreAndPost.h index 59315868010..7fef4b2e68e 100644 --- a/source/blender/render/intern/include/renderPreAndPost.h +++ b/source/blender/render/intern/include/renderPreAndPost.h @@ -35,6 +35,10 @@ #ifndef RENDERPREANDPOST_H #define RENDERPREANDPOST_H +#ifdef HAVE_CONFIG_H +#include +#endif + void prepareScene(void); void finalizeScene(void); void doClipping( void (*projectfunc)(float *, float *) ); diff --git a/source/blender/render/intern/include/render_intern.h b/source/blender/render/intern/include/render_intern.h index 25302ad97bd..df0692df0c6 100644 --- a/source/blender/render/intern/include/render_intern.h +++ b/source/blender/render/intern/include/render_intern.h @@ -33,6 +33,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + /* XXX, should die, no good reason to write * regular (non-file related) endian dependant * code. diff --git a/source/blender/render/intern/include/rendercore.h b/source/blender/render/intern/include/rendercore.h index 8f414936cad..1e0cd77b5c7 100644 --- a/source/blender/render/intern/include/rendercore.h +++ b/source/blender/render/intern/include/rendercore.h @@ -36,6 +36,10 @@ #define RENDERCORE_H #include "render_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct HaloRen; float mistfactor(float *co); /* dist en hoogte, return alpha */ diff --git a/source/blender/render/intern/include/rendercore_int.h b/source/blender/render/intern/include/rendercore_int.h index 45b881fe27f..7c0e402a0b3 100644 --- a/source/blender/render/intern/include/rendercore_int.h +++ b/source/blender/render/intern/include/rendercore_int.h @@ -38,6 +38,10 @@ #include "zbuf_types.h" #include "render_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /* float CookTorr(float *n, float *l, float *v, int hard); */ void do_lamphalo_tex(LampRen *lar, float *p1, float *p2, float *intens); void spothalo(struct LampRen *lar, float *view, float *intens); diff --git a/source/blender/render/intern/include/shadbuf.h b/source/blender/render/intern/include/shadbuf.h index 81ec34397cc..6db4aebee7e 100644 --- a/source/blender/render/intern/include/shadbuf.h +++ b/source/blender/render/intern/include/shadbuf.h @@ -35,6 +35,10 @@ #ifndef SHADBUF_EXT_H #define SHADBUF_EXT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "render_types.h" #ifdef __cplusplus diff --git a/source/blender/render/intern/include/shadowBuffer.h b/source/blender/render/intern/include/shadowBuffer.h index 46b24573fa8..ae1f1b6f83c 100644 --- a/source/blender/render/intern/include/shadowBuffer.h +++ b/source/blender/render/intern/include/shadowBuffer.h @@ -33,6 +33,10 @@ #ifndef SHADOWBUFFER_H #define SHADOWBUFFER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h index aefba4bc372..c10e7a61851 100644 --- a/source/blender/render/intern/include/texture.h +++ b/source/blender/render/intern/include/texture.h @@ -39,6 +39,10 @@ /* no types!!! */ /* #include "texture_types.h" */ +#ifdef HAVE_CONFIG_H +#include +#endif + struct Tex; struct MTex; struct HaloRen; diff --git a/source/blender/render/intern/include/vanillaRenderPipe.h b/source/blender/render/intern/include/vanillaRenderPipe.h index 1ace0c23610..a20e9a98687 100644 --- a/source/blender/render/intern/include/vanillaRenderPipe.h +++ b/source/blender/render/intern/include/vanillaRenderPipe.h @@ -37,6 +37,10 @@ #include "vanillaRenderPipe_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Render pipeline with all kinds of extras. * status-------------------------\/ diff --git a/source/blender/render/intern/include/vanillaRenderPipe_int.h b/source/blender/render/intern/include/vanillaRenderPipe_int.h index 980befae66f..e825d4a2189 100644 --- a/source/blender/render/intern/include/vanillaRenderPipe_int.h +++ b/source/blender/render/intern/include/vanillaRenderPipe_int.h @@ -38,6 +38,10 @@ #include "vanillaRenderPipe_types.h" #include "zbufferdatastruct_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Z buffer initializer, for new pipeline. *
  • diff --git a/source/blender/render/intern/include/vanillaRenderPipe_types.h b/source/blender/render/intern/include/vanillaRenderPipe_types.h index cf4f2ffb289..a0e1d04554b 100644 --- a/source/blender/render/intern/include/vanillaRenderPipe_types.h +++ b/source/blender/render/intern/include/vanillaRenderPipe_types.h @@ -35,6 +35,10 @@ #ifndef VANILLARENDERPIPE_TYPES_H #define VANILLARENDERPIPE_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* Render defines */ #define RE_MAX_OSA_COUNT 16 /* The max. number of possible oversamples */ #define RE_MAX_FACES_PER_PIXEL 500 /* max. nr of faces rendered behind one */ diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index fdfa5b19abe..10e00415d44 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -36,6 +36,10 @@ #ifndef ZBUF_H #define ZBUF_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/intern/include/zbuf_int.h b/source/blender/render/intern/include/zbuf_int.h index a9d7820565c..3d442daca1d 100644 --- a/source/blender/render/intern/include/zbuf_int.h +++ b/source/blender/render/intern/include/zbuf_int.h @@ -40,7 +40,9 @@ #include "render_types.h" #include "zbuf_types.h" - +#ifdef HAVE_CONFIG_H +#include +#endif /** * Convert a homogenous coordinate to a z buffer coordinate. The diff --git a/source/blender/render/intern/include/zbuf_types.h b/source/blender/render/intern/include/zbuf_types.h index b5ad9c75902..fa3e5cdb9e0 100644 --- a/source/blender/render/intern/include/zbuf_types.h +++ b/source/blender/render/intern/include/zbuf_types.h @@ -36,6 +36,10 @@ #ifndef ZBUF_TYPES_H #define ZBUF_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/render/intern/include/zbufferdatastruct.h b/source/blender/render/intern/include/zbufferdatastruct.h index 790cce2cb77..f5bd2a409c7 100644 --- a/source/blender/render/intern/include/zbufferdatastruct.h +++ b/source/blender/render/intern/include/zbufferdatastruct.h @@ -37,6 +37,10 @@ #include "zbufferdatastruct_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Set memory and counters for a fresh z buffer */ diff --git a/source/blender/render/intern/include/zbufferdatastruct_types.h b/source/blender/render/intern/include/zbufferdatastruct_types.h index 0607f19bbc9..35351a63869 100644 --- a/source/blender/render/intern/include/zbufferdatastruct_types.h +++ b/source/blender/render/intern/include/zbufferdatastruct_types.h @@ -35,6 +35,10 @@ #ifndef ZBUFFERDATASTRUCT_TYPES_H #define ZBUFFERDATASTRUCT_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define RE_ZBUFLEN 64 /* number of lines in the accumulation buffer */ /** diff --git a/source/blender/renderconverter/RE_renderconverter.h b/source/blender/renderconverter/RE_renderconverter.h index 851333371f6..b089830a1f9 100644 --- a/source/blender/renderconverter/RE_renderconverter.h +++ b/source/blender/renderconverter/RE_renderconverter.h @@ -60,6 +60,10 @@ #ifndef RE_RENDERCONVERTER_H #define RE_RENDERCONVERTER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/sign/BLO_sign.h b/source/blender/sign/BLO_sign.h index eb2a859808a..64f54e00d78 100644 --- a/source/blender/sign/BLO_sign.h +++ b/source/blender/sign/BLO_sign.h @@ -33,6 +33,10 @@ #ifndef BLO_SIGN_H #define BLO_SIGN_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/src/winlay.h b/source/blender/src/winlay.h index 01cd53d7450..53a26dc05b7 100644 --- a/source/blender/src/winlay.h +++ b/source/blender/src/winlay.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + /* Abstract window operations */ typedef struct _Window Window; diff --git a/source/blender/verify/BLO_sign_verify_Header.h b/source/blender/verify/BLO_sign_verify_Header.h index 8f26eed95aa..37470c72443 100644 --- a/source/blender/verify/BLO_sign_verify_Header.h +++ b/source/blender/verify/BLO_sign_verify_Header.h @@ -34,6 +34,10 @@ #ifndef BLO_SIGN_VERIFY_H #define BLO_SIGN_VERIFY_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/verify/BLO_signer_info.h b/source/blender/verify/BLO_signer_info.h index d2e6b987147..0fdf9c6286a 100644 --- a/source/blender/verify/BLO_signer_info.h +++ b/source/blender/verify/BLO_signer_info.h @@ -33,6 +33,10 @@ #include "BLO_sign_verify_Header.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /* external struct for signer info */ struct BLO_SignerInfo { diff --git a/source/blender/verify/BLO_verify.h b/source/blender/verify/BLO_verify.h index 6396c4d6c73..50eb2e4ab04 100644 --- a/source/blender/verify/BLO_verify.h +++ b/source/blender/verify/BLO_verify.h @@ -33,6 +33,10 @@ #ifndef BLO_VERIFY_H #define BLO_VERIFY_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/writeblenfile/BLO_writeblenfile.h b/source/blender/writeblenfile/BLO_writeblenfile.h index a87f294b417..efabf7c3455 100644 --- a/source/blender/writeblenfile/BLO_writeblenfile.h +++ b/source/blender/writeblenfile/BLO_writeblenfile.h @@ -34,6 +34,10 @@ #ifndef BLO_WRITEBLENFILE_H #define BLO_WRITEBLENFILE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/writestreamglue/BLO_getPubKey.h b/source/blender/writestreamglue/BLO_getPubKey.h index 56cdfccc837..3c63e7b500b 100644 --- a/source/blender/writestreamglue/BLO_getPubKey.h +++ b/source/blender/writestreamglue/BLO_getPubKey.h @@ -32,6 +32,11 @@ * STUB: give back the dataStreamPubKey */ +#ifdef HAVE_CONFIG_H +#include +#endif + + int getPubKey(byte *dataStreamPubKey, int dataStreamPubKeyLen, diff --git a/source/blender/writestreamglue/BLO_writeStreamErrors.h b/source/blender/writestreamglue/BLO_writeStreamErrors.h index cc86660b8d0..c926511eaa6 100644 --- a/source/blender/writestreamglue/BLO_writeStreamErrors.h +++ b/source/blender/writestreamglue/BLO_writeStreamErrors.h @@ -36,6 +36,10 @@ #ifndef BLO_WRITESTREAMERRORS_H #define BLO_WRITESTREAMERRORS_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/writestreamglue/BLO_writeStreamGlue.h b/source/blender/writestreamglue/BLO_writeStreamGlue.h index 85101d8c79b..c5259b564fa 100644 --- a/source/blender/writestreamglue/BLO_writeStreamGlue.h +++ b/source/blender/writestreamglue/BLO_writeStreamGlue.h @@ -34,6 +34,10 @@ #ifndef BLO_WRITESTREAMGLUE_H #define BLO_WRITESTREAMGLUE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/writestreamglue/intern/BLO_dumpFromMemory.h b/source/blender/writestreamglue/intern/BLO_dumpFromMemory.h index cb418f67f01..238f5c7a654 100644 --- a/source/blender/writestreamglue/intern/BLO_dumpFromMemory.h +++ b/source/blender/writestreamglue/intern/BLO_dumpFromMemory.h @@ -31,6 +31,10 @@ * streamglue loopback adds a streamGlueHeader to start of the write stream */ +#ifdef HAVE_CONFIG_H +#include +#endif + int BLO_dumpFromMemory( unsigned char *data, diff --git a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h index 5f8b7541f76..97a4ae4a798 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERCANVAS #define __KX_BLENDERCANVAS +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include #endif diff --git a/source/gameengine/BlenderRoutines/KX_BlenderGL.h b/source/gameengine/BlenderRoutines/KX_BlenderGL.h index e7cc220f88c..08c7f1a2dc6 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderGL.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderGL.h @@ -32,6 +32,10 @@ #ifndef __BLENDERGL #define __BLENDERGL +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif //__cplusplus diff --git a/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h index 24cd17415ac..d83acf0118b 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERINPUTDEVICE #define __KX_BLENDERINPUTDEVICE +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning(disable : 4786) // shut off 255 char limit debug template warning #endif diff --git a/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h index 33809f039fa..b9edfca96c4 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERKEYBOARDDEVICE #define __KX_BLENDERKEYBOARDDEVICE +#ifdef HAVE_CONFIG_H +#include +#endif + #include "KX_BlenderInputDevice.h" class KX_BlenderKeyboardDevice : public BL_BlenderInputDevice diff --git a/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h index a4a1d27b2ee..7984c4557e8 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h @@ -34,6 +34,10 @@ #include "KX_BlenderInputDevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_BlenderMouseDevice : public BL_BlenderInputDevice { public: diff --git a/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h b/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h index 5e08a5a77af..fb09a8b9612 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h @@ -35,6 +35,10 @@ #include "RAS_MaterialBucket.h" #include "RAS_IRasterizer.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct TFace; extern "C" int set_tpage(TFace* tface); /* Worst hack ever */ diff --git a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h index 91227967185..b39bb4f6295 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERRENDERTOOLS #define __KX_BLENDERRENDERTOOLS +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 // don't show stl-warnings #pragma warning (disable:4786) diff --git a/source/gameengine/BlenderRoutines/KX_BlenderSystem.h b/source/gameengine/BlenderRoutines/KX_BlenderSystem.h index 00a1bd1853f..021f770a339 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderSystem.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderSystem.h @@ -34,6 +34,10 @@ #include "blendertimer.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Blender System embedding. Needed when gameengine runs embedded within Blender. */ diff --git a/source/gameengine/Converter/BL_ActionActuator.h b/source/gameengine/Converter/BL_ActionActuator.h index 962f807f907..9ebaa53ef97 100644 --- a/source/gameengine/Converter/BL_ActionActuator.h +++ b/source/gameengine/Converter/BL_ActionActuator.h @@ -36,6 +36,10 @@ #include "SCA_IActuator.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class BL_ActionActuator : public SCA_IActuator { public: diff --git a/source/gameengine/Converter/BL_ArmatureObject.h b/source/gameengine/Converter/BL_ArmatureObject.h index a438eced5d2..6ef2eabd9ff 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.h +++ b/source/gameengine/Converter/BL_ArmatureObject.h @@ -37,6 +37,10 @@ #include "SG_IObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class BL_ActionActuator; class BL_ArmatureObject : public KX_GameObject diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.h b/source/gameengine/Converter/BL_BlenderDataConversion.h index 29e1a29a149..9f21a0bd62e 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.h +++ b/source/gameengine/Converter/BL_BlenderDataConversion.h @@ -36,6 +36,10 @@ #include "KX_Python.h" #include "KX_PhysicsEngineEnums.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class RAS_MeshObject* BL_ConvertMesh(struct Mesh* mesh,struct Object* lightobj,class RAS_IRenderTools* rendertools,class KX_Scene* scene, class KX_BlenderSceneConverter *converter); void BL_ConvertBlenderObjects(struct Main* maggie, diff --git a/source/gameengine/Converter/BL_DeformableGameObject.h b/source/gameengine/Converter/BL_DeformableGameObject.h index 1f05d2fcbcc..ad85fafe59c 100644 --- a/source/gameengine/Converter/BL_DeformableGameObject.h +++ b/source/gameengine/Converter/BL_DeformableGameObject.h @@ -33,6 +33,10 @@ #ifndef BL_DEFORMABLEGAMEOBJECT #define BL_DEFORMABLEGAMEOBJECT +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BL_MeshDeformer.h b/source/gameengine/Converter/BL_MeshDeformer.h index 90b4dd8328c..c9faa763b7e 100644 --- a/source/gameengine/Converter/BL_MeshDeformer.h +++ b/source/gameengine/Converter/BL_MeshDeformer.h @@ -38,6 +38,10 @@ #include "MT_Point3.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BL_SkinDeformer.h b/source/gameengine/Converter/BL_SkinDeformer.h index 25c3654d269..18c7ed5956b 100644 --- a/source/gameengine/Converter/BL_SkinDeformer.h +++ b/source/gameengine/Converter/BL_SkinDeformer.h @@ -33,6 +33,10 @@ #ifndef BL_SKINDEFORMER #define BL_SKINDEFORMER +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BL_SkinMeshObject.h b/source/gameengine/Converter/BL_SkinMeshObject.h index 5dfca48af1e..3721abac1a8 100644 --- a/source/gameengine/Converter/BL_SkinMeshObject.h +++ b/source/gameengine/Converter/BL_SkinMeshObject.h @@ -33,6 +33,10 @@ #ifndef __BL_SKINMESHOBJECT #define __BL_SKINMESHOBJECT +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BlenderWorldInfo.h b/source/gameengine/Converter/BlenderWorldInfo.h index f4bdff649cc..d6b669d143f 100644 --- a/source/gameengine/Converter/BlenderWorldInfo.h +++ b/source/gameengine/Converter/BlenderWorldInfo.h @@ -35,6 +35,9 @@ #include "KX_WorldInfo.h" #include "KX_BlenderGL.h" +#ifdef HAVE_CONFIG_H +#include +#endif class BlenderWorldInfo : public KX_WorldInfo { diff --git a/source/gameengine/Converter/KX_BlenderScalarInterpolator.h b/source/gameengine/Converter/KX_BlenderScalarInterpolator.h index fd9cfcb04ce..c7a055babd4 100644 --- a/source/gameengine/Converter/KX_BlenderScalarInterpolator.h +++ b/source/gameengine/Converter/KX_BlenderScalarInterpolator.h @@ -36,6 +36,10 @@ #include "KX_IScalarInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + typedef unsigned short BL_IpoChannel; class BL_ScalarInterpolator : public KX_IScalarInterpolator { diff --git a/source/gameengine/Converter/KX_BlenderSceneConverter.h b/source/gameengine/Converter/KX_BlenderSceneConverter.h index 2a15d5e2f0d..e8f72204518 100644 --- a/source/gameengine/Converter/KX_BlenderSceneConverter.h +++ b/source/gameengine/Converter/KX_BlenderSceneConverter.h @@ -38,6 +38,10 @@ #include "KX_HashedPtr.h" #include "KX_IpoConvert.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_WorldInfo; class SCA_IActuator; class SCA_IController; diff --git a/source/gameengine/Converter/KX_ConvertActuators.h b/source/gameengine/Converter/KX_ConvertActuators.h index 1e6e96e2e7c..9eb0d2ebc8f 100644 --- a/source/gameengine/Converter/KX_ConvertActuators.h +++ b/source/gameengine/Converter/KX_ConvertActuators.h @@ -32,6 +32,10 @@ #ifndef __KX_CONVERTACTUATORS_H #define __KX_CONVERTACTUATORS_H +#ifdef HAVE_CONFIG_H +#include +#endif + void BL_ConvertActuators(char* maggiename, struct Object* blenderobject, class KX_GameObject* gameobj, diff --git a/source/gameengine/Converter/KX_ConvertControllers.h b/source/gameengine/Converter/KX_ConvertControllers.h index 3c2b45bddd0..9df2ee5dd6f 100644 --- a/source/gameengine/Converter/KX_ConvertControllers.h +++ b/source/gameengine/Converter/KX_ConvertControllers.h @@ -34,6 +34,10 @@ #include "KX_Python.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void BL_ConvertControllers( struct Object* blenderobject, class KX_GameObject* gameobj, diff --git a/source/gameengine/Converter/KX_ConvertProperties.h b/source/gameengine/Converter/KX_ConvertProperties.h index eb44f7b7d35..b73af6bab55 100644 --- a/source/gameengine/Converter/KX_ConvertProperties.h +++ b/source/gameengine/Converter/KX_ConvertProperties.h @@ -32,6 +32,10 @@ #ifndef __KX_CONVERTPROPERTIES #define __KX_CONVERTPROPERTIES +#ifdef HAVE_CONFIG_H +#include +#endif + void BL_ConvertProperties(struct Object* object, class KX_GameObject* gameobj, class SCA_TimeEventManager* timemgr, diff --git a/source/gameengine/Converter/KX_ConvertSensors.h b/source/gameengine/Converter/KX_ConvertSensors.h index 9878d4a7a09..4653440d316 100644 --- a/source/gameengine/Converter/KX_ConvertSensors.h +++ b/source/gameengine/Converter/KX_ConvertSensors.h @@ -32,6 +32,10 @@ #ifndef __KX_CONVERTSENSOR_H #define __KX_CONVERTSENSOR_H +#ifdef HAVE_CONFIG_H +#include +#endif + void BL_ConvertSensors(struct Object* blenderobject, class KX_GameObject* gameobj, class SCA_LogicManager* logicmgr, diff --git a/source/gameengine/Converter/KX_IpoConvert.h b/source/gameengine/Converter/KX_IpoConvert.h index e04f33f76fe..dbf7dd26e86 100644 --- a/source/gameengine/Converter/KX_IpoConvert.h +++ b/source/gameengine/Converter/KX_IpoConvert.h @@ -32,6 +32,10 @@ #ifndef __KX_IPOCONVERT_H #define __KX_IPOCONVERT_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct Object; void BL_ConvertIpos(struct Object* blenderobject, diff --git a/source/gameengine/Expressions/BoolValue.h b/source/gameengine/Expressions/BoolValue.h index 6c4d964249f..78c55f0c924 100644 --- a/source/gameengine/Expressions/BoolValue.h +++ b/source/gameengine/Expressions/BoolValue.h @@ -17,6 +17,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Smart Boolean Value class. * Is used by parser when an expression tree is build containing booleans. diff --git a/source/gameengine/Expressions/ConstExpr.h b/source/gameengine/Expressions/ConstExpr.h index e27ece52a83..dbc0e33436d 100644 --- a/source/gameengine/Expressions/ConstExpr.h +++ b/source/gameengine/Expressions/ConstExpr.h @@ -19,6 +19,10 @@ #include "Expression.h" #include "Value.h" // Added by ClassView +#ifdef HAVE_CONFIG_H +#include +#endif + class CConstExpr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (CConstExpr,CExpression) diff --git a/source/gameengine/Expressions/EXP_C-Api.h b/source/gameengine/Expressions/EXP_C-Api.h index 48167a7bf44..05d66d64ddf 100644 --- a/source/gameengine/Expressions/EXP_C-Api.h +++ b/source/gameengine/Expressions/EXP_C-Api.h @@ -32,6 +32,9 @@ #ifndef __EXPRESSION_INCLUDE #define __EXPRESSION_INCLUDE +#ifdef HAVE_CONFIG_H +#include +#endif #define EXP_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name diff --git a/source/gameengine/Expressions/EmptyValue.h b/source/gameengine/Expressions/EmptyValue.h index b9cca0e57e5..2cde0a96d3f 100644 --- a/source/gameengine/Expressions/EmptyValue.h +++ b/source/gameengine/Expressions/EmptyValue.h @@ -17,6 +17,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class CListValue; class CEmptyValue : public CPropValue diff --git a/source/gameengine/Expressions/ErrorValue.h b/source/gameengine/Expressions/ErrorValue.h index 16e608ca01a..f962f1071cc 100644 --- a/source/gameengine/Expressions/ErrorValue.h +++ b/source/gameengine/Expressions/ErrorValue.h @@ -18,6 +18,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class CErrorValue : public CPropValue { diff --git a/source/gameengine/Expressions/Expression.h b/source/gameengine/Expressions/Expression.h index 10659dca875..6d87d32eb40 100644 --- a/source/gameengine/Expressions/Expression.h +++ b/source/gameengine/Expressions/Expression.h @@ -18,6 +18,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif + //extern int gRefCountExpr; // only for debugging purposes (detect mem.leaks) diff --git a/source/gameengine/Expressions/FloatValue.h b/source/gameengine/Expressions/FloatValue.h index 9a1a1d4ed2b..b0001189066 100644 --- a/source/gameengine/Expressions/FloatValue.h +++ b/source/gameengine/Expressions/FloatValue.h @@ -17,6 +17,9 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif class CFloatValue : public CPropValue { diff --git a/source/gameengine/Expressions/IdentifierExpr.h b/source/gameengine/Expressions/IdentifierExpr.h index dbffe7c02bc..7a1aaf9b8d2 100644 --- a/source/gameengine/Expressions/IdentifierExpr.h +++ b/source/gameengine/Expressions/IdentifierExpr.h @@ -34,6 +34,10 @@ #include "Expression.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class CIdentifierExpr : public CExpression { CValue* m_idContext; diff --git a/source/gameengine/Expressions/IfExpr.h b/source/gameengine/Expressions/IfExpr.h index 9ab13dca413..7a39282de6e 100644 --- a/source/gameengine/Expressions/IfExpr.h +++ b/source/gameengine/Expressions/IfExpr.h @@ -21,6 +21,10 @@ #include "Expression.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class CIfExpr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (CIfExpr,CExpression) diff --git a/source/gameengine/Expressions/InputParser.h b/source/gameengine/Expressions/InputParser.h index 4caa47cbb0c..a1ea820c5a4 100644 --- a/source/gameengine/Expressions/InputParser.h +++ b/source/gameengine/Expressions/InputParser.h @@ -17,6 +17,10 @@ #ifndef __INPUTPARSER_H__ #define __INPUTPARSER_H__ +#ifdef HAVE_CONFIG_H +#include +#endif + class CParser; #include "Expression.h" diff --git a/source/gameengine/Expressions/IntValue.h b/source/gameengine/Expressions/IntValue.h index 2361de8b0a9..8a1074f0540 100644 --- a/source/gameengine/Expressions/IntValue.h +++ b/source/gameengine/Expressions/IntValue.h @@ -18,6 +18,9 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif class CIntValue : public CPropValue { diff --git a/source/gameengine/Expressions/KX_HashedPtr.h b/source/gameengine/Expressions/KX_HashedPtr.h index e96f0217039..fbfbfb12455 100644 --- a/source/gameengine/Expressions/KX_HashedPtr.h +++ b/source/gameengine/Expressions/KX_HashedPtr.h @@ -32,6 +32,10 @@ #ifndef __KX_HASHEDPTR #define __KX_HASHEDPTR +#ifdef HAVE_CONFIG_H +#include +#endif + unsigned int KX_Hash(unsigned int inDWord); diff --git a/source/gameengine/Expressions/KX_Python.h b/source/gameengine/Expressions/KX_Python.h index 6ba31796e4f..11dafcde3ce 100644 --- a/source/gameengine/Expressions/KX_Python.h +++ b/source/gameengine/Expressions/KX_Python.h @@ -32,6 +32,10 @@ #ifndef KX_PYTHON_H #define KX_PYTHON_H +#ifdef HAVE_CONFIG_H +#include +#endif + //#define USE_DL_EXPORT #include "Python.h" diff --git a/source/gameengine/Expressions/KX_Python_dynamic.h b/source/gameengine/Expressions/KX_Python_dynamic.h index 6ba31796e4f..11dafcde3ce 100644 --- a/source/gameengine/Expressions/KX_Python_dynamic.h +++ b/source/gameengine/Expressions/KX_Python_dynamic.h @@ -32,6 +32,10 @@ #ifndef KX_PYTHON_H #define KX_PYTHON_H +#ifdef HAVE_CONFIG_H +#include +#endif + //#define USE_DL_EXPORT #include "Python.h" diff --git a/source/gameengine/Expressions/KX_Python_static.h b/source/gameengine/Expressions/KX_Python_static.h index 1a9682c8ef4..967dc01d6fd 100644 --- a/source/gameengine/Expressions/KX_Python_static.h +++ b/source/gameengine/Expressions/KX_Python_static.h @@ -32,6 +32,10 @@ #ifndef KX_PYTHON_H #define KX_PYTHON_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define USE_DL_EXPORT #include "Python.h" diff --git a/source/gameengine/Expressions/ListValue.h b/source/gameengine/Expressions/ListValue.h index 337d59e96ac..4a18abece8c 100644 --- a/source/gameengine/Expressions/ListValue.h +++ b/source/gameengine/Expressions/ListValue.h @@ -16,6 +16,9 @@ #if !defined _LISTVALUE_H #define _LISTVALUE_H +#ifdef HAVE_CONFIG_H +#include +#endif #include "Value.h" diff --git a/source/gameengine/Expressions/Operator1Expr.h b/source/gameengine/Expressions/Operator1Expr.h index 96b328dd504..a986cc9f0c1 100644 --- a/source/gameengine/Expressions/Operator1Expr.h +++ b/source/gameengine/Expressions/Operator1Expr.h @@ -16,10 +16,12 @@ #if !defined(AFX_OPERATOR1EXPR_H__A1653901_BF41_11D1_A51C_00A02472FC58__INCLUDED_) #define AFX_OPERATOR1EXPR_H__A1653901_BF41_11D1_A51C_00A02472FC58__INCLUDED_ - - #include "Expression.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class COperator1Expr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (COperator1Expr,CExpression) diff --git a/source/gameengine/Expressions/Operator2Expr.h b/source/gameengine/Expressions/Operator2Expr.h index 1d1c4d09f22..40fd9edf337 100644 --- a/source/gameengine/Expressions/Operator2Expr.h +++ b/source/gameengine/Expressions/Operator2Expr.h @@ -20,6 +20,10 @@ #include "Expression.h" #include "Value.h" // Added by ClassView +#ifdef HAVE_CONFIG_H +#include +#endif + class COperator2Expr : public CExpression { diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h index e88ea2b255a..a62919ed5ad 100644 --- a/source/gameengine/Expressions/PyObjectPlus.h +++ b/source/gameengine/Expressions/PyObjectPlus.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef NO_EXP_PYTHON_EMBEDDING #ifndef _adr_py_lib_h_ // only process once, diff --git a/source/gameengine/Expressions/StringValue.h b/source/gameengine/Expressions/StringValue.h index b824d4ef86d..7cd524f0d8e 100644 --- a/source/gameengine/Expressions/StringValue.h +++ b/source/gameengine/Expressions/StringValue.h @@ -18,6 +18,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class CStringValue : public CPropValue { diff --git a/source/gameengine/Expressions/Value.h b/source/gameengine/Expressions/Value.h index 5b3ad8ffa52..73e7d00dca0 100644 --- a/source/gameengine/Expressions/Value.h +++ b/source/gameengine/Expressions/Value.h @@ -13,6 +13,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif //WIN32 diff --git a/source/gameengine/Expressions/VectorValue.h b/source/gameengine/Expressions/VectorValue.h index 8ed671721a3..df8d16932fb 100644 --- a/source/gameengine/Expressions/VectorValue.h +++ b/source/gameengine/Expressions/VectorValue.h @@ -15,6 +15,9 @@ #if !defined _VECTORVALUE_H #define _VECTORVALUE_H +#ifdef HAVE_CONFIG_H +#include +#endif #include "Value.h" diff --git a/source/gameengine/Expressions/VoidValue.h b/source/gameengine/Expressions/VoidValue.h index 68a3270792c..ca1dc09e179 100644 --- a/source/gameengine/Expressions/VoidValue.h +++ b/source/gameengine/Expressions/VoidValue.h @@ -35,6 +35,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include +#endif + // // Void value, used to transport *any* type of data diff --git a/source/gameengine/GameLogic/SCA_ANDController.h b/source/gameengine/GameLogic/SCA_ANDController.h index f3064e931f2..b2988c70840 100644 --- a/source/gameengine/GameLogic/SCA_ANDController.h +++ b/source/gameengine/GameLogic/SCA_ANDController.h @@ -35,6 +35,10 @@ #ifndef __KX_ANDCONTROLLER #define __KX_ANDCONTROLLER +#ifdef HAVE_CONFIG_H +#include +#endif + #include "SCA_IController.h" class SCA_ANDController : public SCA_IController diff --git a/source/gameengine/GameLogic/SCA_AlwaysEventManager.h b/source/gameengine/GameLogic/SCA_AlwaysEventManager.h index 3a12987b2f3..d6bbe02c728 100644 --- a/source/gameengine/GameLogic/SCA_AlwaysEventManager.h +++ b/source/gameengine/GameLogic/SCA_AlwaysEventManager.h @@ -33,6 +33,11 @@ #define __KX_ALWAYSEVENTMGR #include "SCA_EventManager.h" #include + +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; class SCA_AlwaysEventManager : public SCA_EventManager { diff --git a/source/gameengine/GameLogic/SCA_AlwaysSensor.h b/source/gameengine/GameLogic/SCA_AlwaysSensor.h index 34d57da5cea..7074d3dc7a9 100644 --- a/source/gameengine/GameLogic/SCA_AlwaysSensor.h +++ b/source/gameengine/GameLogic/SCA_AlwaysSensor.h @@ -36,6 +36,9 @@ #define __KX_ALWAYSSENSOR #include "SCA_ISensor.h" +#ifdef HAVE_CONFIG_H +#include +#endif class SCA_AlwaysSensor : public SCA_ISensor { diff --git a/source/gameengine/GameLogic/SCA_EventManager.h b/source/gameengine/GameLogic/SCA_EventManager.h index 67908b9d5c7..5b644d7f68b 100644 --- a/source/gameengine/GameLogic/SCA_EventManager.h +++ b/source/gameengine/GameLogic/SCA_EventManager.h @@ -35,6 +35,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_EventManager { protected: diff --git a/source/gameengine/GameLogic/SCA_ExpressionController.h b/source/gameengine/GameLogic/SCA_ExpressionController.h index 967307d8473..569465769b4 100644 --- a/source/gameengine/GameLogic/SCA_ExpressionController.h +++ b/source/gameengine/GameLogic/SCA_ExpressionController.h @@ -37,6 +37,10 @@ #include "SCA_IController.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_ExpressionController : public SCA_IController { diff --git a/source/gameengine/GameLogic/SCA_IActuator.h b/source/gameengine/GameLogic/SCA_IActuator.h index 6b3d1007079..c4a6b6c4830 100644 --- a/source/gameengine/GameLogic/SCA_IActuator.h +++ b/source/gameengine/GameLogic/SCA_IActuator.h @@ -35,6 +35,10 @@ #include "SCA_ILogicBrick.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_IActuator : public SCA_ILogicBrick { protected: diff --git a/source/gameengine/GameLogic/SCA_IController.h b/source/gameengine/GameLogic/SCA_IController.h index 31bbca2480a..fb5b351e0b2 100644 --- a/source/gameengine/GameLogic/SCA_IController.h +++ b/source/gameengine/GameLogic/SCA_IController.h @@ -34,6 +34,10 @@ #include "SCA_ILogicBrick.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_IController : public SCA_ILogicBrick { protected: diff --git a/source/gameengine/GameLogic/SCA_IInputDevice.h b/source/gameengine/GameLogic/SCA_IInputDevice.h index 6a8c1397882..1d448dafc8c 100644 --- a/source/gameengine/GameLogic/SCA_IInputDevice.h +++ b/source/gameengine/GameLogic/SCA_IInputDevice.h @@ -36,6 +36,9 @@ #ifndef KX_INPUTDEVICE_H #define KX_INPUTDEVICE_H +#ifdef HAVE_CONFIG_H +#include +#endif class SCA_InputEvent { diff --git a/source/gameengine/GameLogic/SCA_ILogicBrick.h b/source/gameengine/GameLogic/SCA_ILogicBrick.h index 4dcc4f8bc02..ec6147d205b 100644 --- a/source/gameengine/GameLogic/SCA_ILogicBrick.h +++ b/source/gameengine/GameLogic/SCA_ILogicBrick.h @@ -35,6 +35,11 @@ #include "Value.h" #include "SCA_IObject.h" #include "BoolValue.h" + +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_ILogicBrick : public CValue { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h index 6d874bdb45c..68c3944d49d 100644 --- a/source/gameengine/GameLogic/SCA_IObject.h +++ b/source/gameengine/GameLogic/SCA_IObject.h @@ -39,6 +39,10 @@ #include "Value.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_ISensor; class SCA_IController; class SCA_IActuator; diff --git a/source/gameengine/GameLogic/SCA_IScene.h b/source/gameengine/GameLogic/SCA_IScene.h index f49d4d3004c..3a24747bfe4 100644 --- a/source/gameengine/GameLogic/SCA_IScene.h +++ b/source/gameengine/GameLogic/SCA_IScene.h @@ -36,6 +36,10 @@ #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct SCA_DebugProp { class CValue* m_obj; diff --git a/source/gameengine/GameLogic/SCA_ISensor.h b/source/gameengine/GameLogic/SCA_ISensor.h index 3d99c92be9a..1f2ac300360 100644 --- a/source/gameengine/GameLogic/SCA_ISensor.h +++ b/source/gameengine/GameLogic/SCA_ISensor.h @@ -37,7 +37,9 @@ #include "SCA_ILogicBrick.h" - +#ifdef HAVE_CONFIG_H +#include +#endif /** * Interface Class for all logic Sensors. Implements diff --git a/source/gameengine/GameLogic/SCA_KeyboardManager.h b/source/gameengine/GameLogic/SCA_KeyboardManager.h index fcdb8ed5c4e..3cc4cca4d64 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardManager.h +++ b/source/gameengine/GameLogic/SCA_KeyboardManager.h @@ -40,6 +40,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; #include "SCA_IInputDevice.h" diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.h b/source/gameengine/GameLogic/SCA_KeyboardSensor.h index 2badc799206..b898e217471 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardSensor.h +++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.h @@ -38,6 +38,10 @@ #include "BoolValue.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif + /** * The keyboard sensor listens to the keyboard, and passes on events * on selected keystrokes. It has an alternate mode in which it logs diff --git a/source/gameengine/GameLogic/SCA_LogicManager.h b/source/gameengine/GameLogic/SCA_LogicManager.h index 4447104a0a2..7a7b1b08140 100644 --- a/source/gameengine/GameLogic/SCA_LogicManager.h +++ b/source/gameengine/GameLogic/SCA_LogicManager.h @@ -33,6 +33,10 @@ #ifndef __KX_LOGICMANAGER #define __KX_LOGICMANAGER +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif diff --git a/source/gameengine/GameLogic/SCA_MouseManager.h b/source/gameengine/GameLogic/SCA_MouseManager.h index 4c8fe102bfe..e4f7ffb5f89 100644 --- a/source/gameengine/GameLogic/SCA_MouseManager.h +++ b/source/gameengine/GameLogic/SCA_MouseManager.h @@ -41,6 +41,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; #include "SCA_IInputDevice.h" diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.h b/source/gameengine/GameLogic/SCA_MouseSensor.h index 5923b1e6b8c..83310a1c3eb 100644 --- a/source/gameengine/GameLogic/SCA_MouseSensor.h +++ b/source/gameengine/GameLogic/SCA_MouseSensor.h @@ -39,6 +39,10 @@ #include "BoolValue.h" #include "SCA_IInputDevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_MouseSensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_ORController.h b/source/gameengine/GameLogic/SCA_ORController.h index e88beb22492..fe9b982a5b5 100644 --- a/source/gameengine/GameLogic/SCA_ORController.h +++ b/source/gameengine/GameLogic/SCA_ORController.h @@ -37,6 +37,10 @@ #include "SCA_IController.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_ORController : public SCA_IController { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_PropertyActuator.h b/source/gameengine/GameLogic/SCA_PropertyActuator.h index 5f7fcf9e87f..ed9f80f1dd8 100644 --- a/source/gameengine/GameLogic/SCA_PropertyActuator.h +++ b/source/gameengine/GameLogic/SCA_PropertyActuator.h @@ -37,6 +37,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_PropertyActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_PropertyEventManager.h b/source/gameengine/GameLogic/SCA_PropertyEventManager.h index 2e16ebd0668..24022fa505e 100644 --- a/source/gameengine/GameLogic/SCA_PropertyEventManager.h +++ b/source/gameengine/GameLogic/SCA_PropertyEventManager.h @@ -35,6 +35,11 @@ #include "SCA_EventManager.h" #include + +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; diff --git a/source/gameengine/GameLogic/SCA_PropertySensor.h b/source/gameengine/GameLogic/SCA_PropertySensor.h index 37f4138c6fc..263c1a6ef78 100644 --- a/source/gameengine/GameLogic/SCA_PropertySensor.h +++ b/source/gameengine/GameLogic/SCA_PropertySensor.h @@ -37,6 +37,10 @@ #include "SCA_ISensor.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_PropertySensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_PythonController.h b/source/gameengine/GameLogic/SCA_PythonController.h index f19fcac72f3..cdff76921b4 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.h +++ b/source/gameengine/GameLogic/SCA_PythonController.h @@ -39,6 +39,10 @@ #include "SCA_LogicManager.h" #include "BoolValue.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_IObject; class SCA_PythonController : public SCA_IController { diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.h b/source/gameengine/GameLogic/SCA_RandomActuator.h index 9045dad078c..5ce7d7f93c8 100644 --- a/source/gameengine/GameLogic/SCA_RandomActuator.h +++ b/source/gameengine/GameLogic/SCA_RandomActuator.h @@ -39,6 +39,10 @@ #include "SCA_IActuator.h" #include "SCA_RandomNumberGenerator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_RandomActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_RandomEventManager.h b/source/gameengine/GameLogic/SCA_RandomEventManager.h index f0832044042..229fc216de0 100644 --- a/source/gameengine/GameLogic/SCA_RandomEventManager.h +++ b/source/gameengine/GameLogic/SCA_RandomEventManager.h @@ -38,6 +38,10 @@ #include "SCA_EventManager.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; class SCA_RandomEventManager : public SCA_EventManager diff --git a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h index 75f2dd1bffd..002180d76df 100644 --- a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h +++ b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h @@ -37,6 +37,9 @@ #ifndef __KX_RANDOMNUMBERGENERATOR #define __KX_RANDOMNUMBERGENERATOR +#ifdef HAVE_CONFIG_H +#include +#endif class SCA_RandomNumberGenerator { diff --git a/source/gameengine/GameLogic/SCA_RandomSensor.h b/source/gameengine/GameLogic/SCA_RandomSensor.h index 41f7f453556..e2577c8bf00 100644 --- a/source/gameengine/GameLogic/SCA_RandomSensor.h +++ b/source/gameengine/GameLogic/SCA_RandomSensor.h @@ -39,6 +39,10 @@ #include "BoolValue.h" #include "SCA_RandomNumberGenerator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_RandomSensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_TimeEventManager.h b/source/gameengine/GameLogic/SCA_TimeEventManager.h index fb2f1cee970..ac3f3ebdec8 100644 --- a/source/gameengine/GameLogic/SCA_TimeEventManager.h +++ b/source/gameengine/GameLogic/SCA_TimeEventManager.h @@ -36,6 +36,10 @@ #include "Value.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; class SCA_TimeEventManager : public SCA_EventManager diff --git a/source/gameengine/GamePlayer/common/GPC_Canvas.h b/source/gameengine/GamePlayer/common/GPC_Canvas.h index d406871d970..4e47f70dc86 100644 --- a/source/gameengine/GamePlayer/common/GPC_Canvas.h +++ b/source/gameengine/GamePlayer/common/GPC_Canvas.h @@ -36,6 +36,10 @@ #include "RAS_ICanvas.h" #include "RAS_Rect.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #if defined(WIN32) || defined(__APPLE__) #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning diff --git a/source/gameengine/GamePlayer/common/GPC_Engine.h b/source/gameengine/GamePlayer/common/GPC_Engine.h index 6554fb86b53..88a5f1dbe25 100644 --- a/source/gameengine/GamePlayer/common/GPC_Engine.h +++ b/source/gameengine/GamePlayer/common/GPC_Engine.h @@ -33,6 +33,9 @@ #ifndef __GPC_ENGINE_H #define __GPC_ENGINE_H +#ifdef HAVE_CONFIG_H +#include +#endif #include "GPC_Canvas.h" #include "GPC_System.h" diff --git a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h index 678200b62d9..cf9e1bc9809 100644 --- a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h @@ -33,6 +33,10 @@ #ifndef __GPC_KEYBOARDDEVICE_H #define __GPC_KEYBOARDDEVICE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/common/GPC_MouseDevice.h b/source/gameengine/GamePlayer/common/GPC_MouseDevice.h index 150b7808e4b..ed4f5c9c86d 100644 --- a/source/gameengine/GamePlayer/common/GPC_MouseDevice.h +++ b/source/gameengine/GamePlayer/common/GPC_MouseDevice.h @@ -33,6 +33,10 @@ #ifndef __GPC_MOUSE_DEVICE_H #define __GPC_MOUSE_DEVICE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h index 11cc040ea1e..f2a94829af1 100644 --- a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h +++ b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h @@ -35,6 +35,10 @@ #include "RAS_IPolygonMaterial.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class GPC_PolygonMaterial : public RAS_IPolyMaterial { diff --git a/source/gameengine/GamePlayer/common/GPC_RawImage.h b/source/gameengine/GamePlayer/common/GPC_RawImage.h index ff4c532dd4d..f13ca69ccb3 100644 --- a/source/gameengine/GamePlayer/common/GPC_RawImage.h +++ b/source/gameengine/GamePlayer/common/GPC_RawImage.h @@ -33,6 +33,10 @@ #ifndef __GPC_RAWIMAGE_H__ #define __GPC_RAWIMAGE_H__ +#ifdef HAVE_CONFIG_H +#include +#endif + /** * This memory resource reads images from the application resources. * Images are expected to be stored as raw RGBA bytes. diff --git a/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h b/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h index 05b7e3d9c3a..6ba895d10e9 100644 --- a/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h +++ b/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h @@ -33,6 +33,10 @@ #ifndef __GPC_RAWLOADDOTBLENDARRAY_H #define __GPC_RAWLOADDOTBLENDARRAY_H +#ifdef HAVE_CONFIG_H +#include +#endif + void GetRawLoadingAnimation(unsigned char **data, int *dataSize); #endif // __GPC_RAWLOADDOTBLENDARRAY_H diff --git a/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h b/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h index 84598f7bfe8..cd3b3b72fe9 100644 --- a/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h +++ b/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h @@ -33,6 +33,9 @@ #ifndef __GPC_RAWLOGOARRAYS_H #define __GPC_RAWLOGOARRAYS_H +#ifdef HAVE_CONFIG_H +#include +#endif void GetRawBlenderLogo(unsigned char **data, int *width, int *height); void GetRawBlender3DLogo(unsigned char **data, int *width, int *height); diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.h b/source/gameengine/GamePlayer/common/GPC_RenderTools.h index c346003411c..9a1d6686444 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.h +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.h @@ -33,6 +33,10 @@ #ifndef __GPC_RENDERTOOLS_H #define __GPC_RENDERTOOLS_H +#ifdef HAVE_CONFIG_H +#include +#endif + #if defined(WIN32) || defined(__APPLE__) #ifdef WIN32 #include diff --git a/source/gameengine/GamePlayer/common/GPC_System.h b/source/gameengine/GamePlayer/common/GPC_System.h index e102341749d..0af020704ae 100644 --- a/source/gameengine/GamePlayer/common/GPC_System.h +++ b/source/gameengine/GamePlayer/common/GPC_System.h @@ -33,6 +33,10 @@ #ifndef __GPC_SYSTEM_H #define __GPC_SYSTEM_H +#ifdef HAVE_CONFIG_H +#include +#endif + #if defined(WIN32) #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif /* WIN32 */ diff --git a/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h b/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h index 6ff1935d9c1..a33568fd8ac 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h @@ -35,6 +35,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #include "KXH_ketsji_hooks.h" #include "GPC_Canvas.h" diff --git a/source/gameengine/GamePlayer/common/unix/GPU_Engine.h b/source/gameengine/GamePlayer/common/unix/GPU_Engine.h index 03f9d561b17..b81eb93e055 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_Engine.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_Engine.h @@ -33,11 +33,14 @@ #ifndef __GPU_ENGINE_H #define __GPU_ENGINE_H - #include #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #define Object DNA_Object // tricky stuff !!! but without it it doesn't compile... #include "GPC_Engine.h" diff --git a/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h b/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h index eb1a5a11cf6..755fd9fa236 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h @@ -40,6 +40,10 @@ // Intrinsic.h . Yes, we are a bunch of sado-masochists. Let's hurt // ourselves! +#ifdef HAVE_CONFIG_H +#include +#endif + #include "GPC_KeyboardDevice.h" class GPU_KeyboardDevice : public GPC_KeyboardDevice diff --git a/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h b/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h index 983ed0ade5a..35c11592f13 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h @@ -36,6 +36,9 @@ #include "BP_PolygonMaterial.h" +#ifdef HAVE_CONFIG_H +#include +#endif class GPU_PolygonMaterial : public BP_PolygonMaterial { diff --git a/source/gameengine/GamePlayer/common/unix/GPU_System.h b/source/gameengine/GamePlayer/common/unix/GPU_System.h index bf638327ff6..acdfea53897 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_System.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_System.h @@ -33,9 +33,11 @@ #ifndef __GPU_SYSTEM_H #define __GPU_SYSTEM_H - #include "GPC_System.h" +#ifdef HAVE_CONFIG_H +#include +#endif class GPU_System : public GPC_System { diff --git a/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h b/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h index d08ec3c4fa5..41a7181c0d8 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h @@ -33,6 +33,10 @@ #ifndef _GPW_CANVAS_H_ #define _GPW_CANVAS_H_ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif diff --git a/source/gameengine/GamePlayer/common/windows/GPW_Engine.h b/source/gameengine/GamePlayer/common/windows/GPW_Engine.h index d12b7cddda0..ae1bfc70418 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_Engine.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_Engine.h @@ -33,9 +33,11 @@ #ifndef __GPW_ENGINE_H #define __GPW_ENGINE_H - #include "GPC_Engine.h" +#ifdef HAVE_CONFIG_H +#include +#endif class GPW_Engine : public GPC_Engine { diff --git a/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h b/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h index 495ad956dd9..75eba82464b 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h @@ -36,9 +36,12 @@ #pragma warning (disable : 4786) #include - #include "GPC_KeyboardDevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Win32 implementation of GPC_KeyboardDevice. * The contructor fills the keyboard code translation map. diff --git a/source/gameengine/GamePlayer/common/windows/GPW_System.h b/source/gameengine/GamePlayer/common/windows/GPW_System.h index e178ce3066a..3e4c92a40cd 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_System.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_System.h @@ -38,6 +38,10 @@ #include "GPC_System.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #if defined(__CYGWIN32__) # define __int64 long long #endif diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.h b/source/gameengine/GamePlayer/ghost/GPG_Application.h index 6c215e54857..4142a247666 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.h +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.h @@ -32,9 +32,12 @@ */ #include "GHOST_IEventConsumer.h" - #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_KetsjiEngine; class KX_ISceneConverter; class NG_LoopBackNetworkDeviceInterface; diff --git a/source/gameengine/GamePlayer/ghost/GPG_Canvas.h b/source/gameengine/GamePlayer/ghost/GPG_Canvas.h index 8da8983bf8c..ab7d186bc5a 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Canvas.h +++ b/source/gameengine/GamePlayer/ghost/GPG_Canvas.h @@ -33,6 +33,10 @@ #ifndef _GPG_CANVAS_H_ #define _GPG_CANVAS_H_ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h b/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h index b8e578bcd8f..1a9504cb435 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h @@ -34,6 +34,10 @@ #ifndef _GPG_KEYBOARDDEVICE_H_ #define _GPG_KEYBOARDDEVICE_H_ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/ghost/GPG_System.h b/source/gameengine/GamePlayer/ghost/GPG_System.h index d283c683f1d..764c37219c6 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_System.h +++ b/source/gameengine/GamePlayer/ghost/GPG_System.h @@ -34,6 +34,10 @@ #ifndef _GPG_SYSTEM_H_ #define _GPG_SYSTEM_H_ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif // WIN32 diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h index 75715f5569c..8c0fd79d44b 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h @@ -35,6 +35,10 @@ #include "SCA_EventManager.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_NetworkEventManager : public SCA_EventManager { class SCA_LogicManager* m_logicmgr; diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h index 2cc8a3d4a4c..a6cd7966fc1 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h @@ -34,11 +34,13 @@ #define __KX_NETWORKMESSAGEACTUATOR_H #include "STR_String.h" - #include "SCA_IActuator.h" - #include "NG_NetworkMessage.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_NetworkMessageActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h index 8335a8ba7a4..b54299e66bf 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h @@ -35,6 +35,10 @@ #include "SCA_ISensor.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_NetworkEventManager; class NG_NetworkScene; diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h index 39910963161..9da25bcb70b 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h @@ -30,3 +30,7 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h index 39910963161..9da25bcb70b 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h @@ -30,3 +30,7 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + diff --git a/source/gameengine/Ketsji/KX_CDActuator.h b/source/gameengine/Ketsji/KX_CDActuator.h index 3422e9eeefd..c4ac98fd6cc 100644 --- a/source/gameengine/Ketsji/KX_CDActuator.h +++ b/source/gameengine/Ketsji/KX_CDActuator.h @@ -38,6 +38,9 @@ #include "SCA_IActuator.h" #include "SND_CDObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif class KX_CDActuator : public SCA_IActuator { diff --git a/source/gameengine/Ketsji/KX_Camera.h b/source/gameengine/Ketsji/KX_Camera.h index 4a40ff12d7a..6bc91b3b2bb 100644 --- a/source/gameengine/Ketsji/KX_Camera.h +++ b/source/gameengine/Ketsji/KX_Camera.h @@ -44,6 +44,10 @@ #include "IntValue.h" #include "RAS_CameraData.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_Camera : public KX_GameObject { diff --git a/source/gameengine/Ketsji/KX_CameraActuator.h b/source/gameengine/Ketsji/KX_CameraActuator.h index 285444a8f38..46e76d84c98 100644 --- a/source/gameengine/Ketsji/KX_CameraActuator.h +++ b/source/gameengine/Ketsji/KX_CameraActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" #include "MT_Scalar.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * The camera actuator does a Robbie Muller prespective for you. This is a diff --git a/source/gameengine/Ketsji/KX_CameraIpoSGController.h b/source/gameengine/Ketsji/KX_CameraIpoSGController.h index 029aa6d7156..25855a77f51 100644 --- a/source/gameengine/Ketsji/KX_CameraIpoSGController.h +++ b/source/gameengine/Ketsji/KX_CameraIpoSGController.h @@ -37,6 +37,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct RAS_CameraData; class KX_CameraIpoSGController : public SG_Controller diff --git a/source/gameengine/Ketsji/KX_ClientObjectInfo.h b/source/gameengine/Ketsji/KX_ClientObjectInfo.h index 0981463ed44..c7dfb4be0b4 100644 --- a/source/gameengine/Ketsji/KX_ClientObjectInfo.h +++ b/source/gameengine/Ketsji/KX_ClientObjectInfo.h @@ -32,6 +32,10 @@ #ifndef __KX_CLIENTOBJECT_INFO_H #define __KX_CLIENTOBJECT_INFO_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Client Type and Additional Info. This structure can be use instead of a bare void* pointer, for safeness, and additional info for callbacks */ diff --git a/source/gameengine/Ketsji/KX_ConstraintActuator.h b/source/gameengine/Ketsji/KX_ConstraintActuator.h index 70602622ef6..e38779c9f20 100644 --- a/source/gameengine/Ketsji/KX_ConstraintActuator.h +++ b/source/gameengine/Ketsji/KX_ConstraintActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" #include "MT_Scalar.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_ConstraintActuator : public SCA_IActuator { diff --git a/source/gameengine/Ketsji/KX_ConstraintWrapper.h b/source/gameengine/Ketsji/KX_ConstraintWrapper.h index 9f4bb78bdc4..e9bb5f1fea3 100644 --- a/source/gameengine/Ketsji/KX_ConstraintWrapper.h +++ b/source/gameengine/Ketsji/KX_ConstraintWrapper.h @@ -35,6 +35,10 @@ #include "Value.h" #include "PHY_DynamicTypes.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_ConstraintWrapper : public PyObjectPlus { Py_Header; diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h index 47eb449a15b..a88e6f629cb 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h @@ -33,6 +33,9 @@ #define KX_CONVERTPHYSICSOBJECTS +#ifdef HAVE_CONFIG_H +#include +#endif //#define USE_SUMO_SOLID diff --git a/source/gameengine/Ketsji/KX_EmptyObject.h b/source/gameengine/Ketsji/KX_EmptyObject.h index b2038eb4816..7c3faba2cba 100644 --- a/source/gameengine/Ketsji/KX_EmptyObject.h +++ b/source/gameengine/Ketsji/KX_EmptyObject.h @@ -33,6 +33,10 @@ #define __KX_EMPTYOBJECT #include "KX_GameObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_EmptyObject : public KX_GameObject { public: diff --git a/source/gameengine/Ketsji/KX_GameActuator.h b/source/gameengine/Ketsji/KX_GameActuator.h index 7f2af86db42..f81f47a9c39 100644 --- a/source/gameengine/Ketsji/KX_GameActuator.h +++ b/source/gameengine/Ketsji/KX_GameActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_GameActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 28cdb8a9045..9cf5c1476ef 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -34,6 +34,10 @@ #ifndef __KX_GAMEOBJECT #define __KX_GAMEOBJECT +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 // get rid of this stupid "warning 'this' used in initialiser list", generated by VC when including Solid/Sumo diff --git a/source/gameengine/Ketsji/KX_IInterpolator.h b/source/gameengine/Ketsji/KX_IInterpolator.h index 6a59f537c8d..bf199722023 100644 --- a/source/gameengine/Ketsji/KX_IInterpolator.h +++ b/source/gameengine/Ketsji/KX_IInterpolator.h @@ -34,6 +34,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_IInterpolator { public: virtual ~KX_IInterpolator() {} diff --git a/source/gameengine/Ketsji/KX_IPOTransform.h b/source/gameengine/Ketsji/KX_IPOTransform.h index 45c6d0d9459..e212e414e72 100644 --- a/source/gameengine/Ketsji/KX_IPOTransform.h +++ b/source/gameengine/Ketsji/KX_IPOTransform.h @@ -37,6 +37,10 @@ #include "MT_Transform.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_IPOTransform { public: KX_IPOTransform() : diff --git a/source/gameengine/Ketsji/KX_IPO_SGController.h b/source/gameengine/Ketsji/KX_IPO_SGController.h index 107d5026370..b4588b0e80a 100644 --- a/source/gameengine/Ketsji/KX_IPO_SGController.h +++ b/source/gameengine/Ketsji/KX_IPO_SGController.h @@ -38,6 +38,10 @@ #include "KX_IPOTransform.h" #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_IpoSGController : public SG_Controller { KX_IPOTransform m_ipo_xform; diff --git a/source/gameengine/Ketsji/KX_IPhysicsController.h b/source/gameengine/Ketsji/KX_IPhysicsController.h index 0ed8cf1ad7d..0b2055f9ebf 100644 --- a/source/gameengine/Ketsji/KX_IPhysicsController.h +++ b/source/gameengine/Ketsji/KX_IPhysicsController.h @@ -37,6 +37,10 @@ #include "MT_Point3.h" #include "MT_Matrix3x3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** Physics Controller, a special kind of Scene Graph Transformation Controller. It get's callbacks from Physics in case a transformation change took place. diff --git a/source/gameengine/Ketsji/KX_IScalarInterpolator.h b/source/gameengine/Ketsji/KX_IScalarInterpolator.h index f5d23d3e4e0..39be9df7d12 100644 --- a/source/gameengine/Ketsji/KX_IScalarInterpolator.h +++ b/source/gameengine/Ketsji/KX_IScalarInterpolator.h @@ -32,6 +32,10 @@ #ifndef KX_ISCALARINTERPOLATOR_H #define KX_ISCALARINTERPOLATOR_H +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_IScalarInterpolator { public: virtual ~KX_IScalarInterpolator() {} diff --git a/source/gameengine/Ketsji/KX_ISceneConverter.h b/source/gameengine/Ketsji/KX_ISceneConverter.h index 41565096176..90b53985d26 100644 --- a/source/gameengine/Ketsji/KX_ISceneConverter.h +++ b/source/gameengine/Ketsji/KX_ISceneConverter.h @@ -36,6 +36,10 @@ #include "KX_Python.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_ISceneConverter { diff --git a/source/gameengine/Ketsji/KX_ISystem.h b/source/gameengine/Ketsji/KX_ISystem.h index bf404bd3af7..600e180a067 100644 --- a/source/gameengine/Ketsji/KX_ISystem.h +++ b/source/gameengine/Ketsji/KX_ISystem.h @@ -40,6 +40,10 @@ using namespace std; #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * System Abstraction, needed only for getting some timing stuff from the host. */ diff --git a/source/gameengine/Ketsji/KX_IpoActuator.h b/source/gameengine/Ketsji/KX_IpoActuator.h index e5cd1b943a8..31e2e056b3a 100644 --- a/source/gameengine/Ketsji/KX_IpoActuator.h +++ b/source/gameengine/Ketsji/KX_IpoActuator.h @@ -37,6 +37,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_IpoActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h index 4246bc28b50..e6b274c105b 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.h +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h @@ -43,6 +43,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_TimeCategoryLogger; #define LEFT_EYE 1 diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h index 311780af755..e2538d60b2d 100644 --- a/source/gameengine/Ketsji/KX_Light.h +++ b/source/gameengine/Ketsji/KX_Light.h @@ -35,6 +35,10 @@ #include "RAS_LightObject.h" #include "KX_GameObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_LightObject : public KX_GameObject { RAS_LightObject m_lightobj; diff --git a/source/gameengine/Ketsji/KX_LightIpoSGController.h b/source/gameengine/Ketsji/KX_LightIpoSGController.h index 459d091ce80..daedb3f1855 100644 --- a/source/gameengine/Ketsji/KX_LightIpoSGController.h +++ b/source/gameengine/Ketsji/KX_LightIpoSGController.h @@ -37,6 +37,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct RAS_LightObject; class KX_LightIpoSGController : public SG_Controller diff --git a/source/gameengine/Ketsji/KX_MeshProxy.h b/source/gameengine/Ketsji/KX_MeshProxy.h index 63feb220f67..535c5421b55 100644 --- a/source/gameengine/Ketsji/KX_MeshProxy.h +++ b/source/gameengine/Ketsji/KX_MeshProxy.h @@ -34,6 +34,10 @@ #include "SCA_IObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_MeshProxy : public SCA_IObject { Py_Header; diff --git a/source/gameengine/Ketsji/KX_MotionState.h b/source/gameengine/Ketsji/KX_MotionState.h index d62dc1ed097..81ba2f06104 100644 --- a/source/gameengine/Ketsji/KX_MotionState.h +++ b/source/gameengine/Ketsji/KX_MotionState.h @@ -34,6 +34,10 @@ #include "PHY_IMotionState.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_MotionState : public PHY_IMotionState { class SG_Spatial* m_node; diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.h b/source/gameengine/Ketsji/KX_MouseFocusSensor.h index 23631711aff..c4228ab90e1 100644 --- a/source/gameengine/Ketsji/KX_MouseFocusSensor.h +++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.h @@ -37,6 +37,10 @@ #include "SCA_MouseSensor.h" /* #include "SCA_IInputDevice.h" */ +#ifdef HAVE_CONFIG_H +#include +#endif + /** * The mouse focus sensor extends the basic SCA_MouseSensor. It has * been placed in KX because it needs access to the rasterizer and diff --git a/source/gameengine/Ketsji/KX_NearSensor.h b/source/gameengine/Ketsji/KX_NearSensor.h index 33ec14ba2f2..141dd818423 100644 --- a/source/gameengine/Ketsji/KX_NearSensor.h +++ b/source/gameengine/Ketsji/KX_NearSensor.h @@ -36,6 +36,11 @@ #define KX_NEARSENSOR_H #include "KX_TouchSensor.h" + +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_Scene; class KX_NearSensor : public KX_TouchSensor diff --git a/source/gameengine/Ketsji/KX_ObColorIpoSGController.h b/source/gameengine/Ketsji/KX_ObColorIpoSGController.h index fe66de14848..3fb09f7aaee 100644 --- a/source/gameengine/Ketsji/KX_ObColorIpoSGController.h +++ b/source/gameengine/Ketsji/KX_ObColorIpoSGController.h @@ -37,6 +37,9 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif class KX_ObColorIpoSGController : public SG_Controller { diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.h b/source/gameengine/Ketsji/KX_ObjectActuator.h index 204b2c43a09..9ddad69cb74 100644 --- a/source/gameengine/Ketsji/KX_ObjectActuator.h +++ b/source/gameengine/Ketsji/KX_ObjectActuator.h @@ -38,6 +38,9 @@ #include "SCA_IActuator.h" #include "MT_Vector3.h" +#ifdef HAVE_CONFIG_H +#include +#endif // // Bitfield that stores the flags for each CValue derived class diff --git a/source/gameengine/Ketsji/KX_OdePhysicsController.h b/source/gameengine/Ketsji/KX_OdePhysicsController.h index 314803ddbe9..514e1f98a2a 100644 --- a/source/gameengine/Ketsji/KX_OdePhysicsController.h +++ b/source/gameengine/Ketsji/KX_OdePhysicsController.h @@ -25,6 +25,9 @@ #include "KX_IPhysicsController.h" #include "OdePhysicsController.h" +#ifdef HAVE_CONFIG_H +#include +#endif /** Physics Controller, a special kind of Scene Graph Transformation Controller. diff --git a/source/gameengine/Ketsji/KX_OrientationInterpolator.h b/source/gameengine/Ketsji/KX_OrientationInterpolator.h index 1fb91ef785d..ce671f395ca 100644 --- a/source/gameengine/Ketsji/KX_OrientationInterpolator.h +++ b/source/gameengine/Ketsji/KX_OrientationInterpolator.h @@ -34,6 +34,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class MT_Matrix3x3; class KX_IScalarInterpolator; diff --git a/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h b/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h index 9f6bd6d8f0b..5719071d798 100644 --- a/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h +++ b/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h @@ -32,6 +32,10 @@ #ifndef __KX_PHYSICSENGINEENUMS #define __KX_PHYSICSENGINEENUMS +#ifdef HAVE_CONFIG_H +#include +#endif + enum e_PhysicsEngine { UseNone=1, diff --git a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h index e1a8d20b1a1..dde9c0de47d 100644 --- a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h +++ b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h @@ -35,6 +35,10 @@ #include "Value.h" #include "PHY_DynamicTypes.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_PhysicsObjectWrapper : public PyObjectPlus { Py_Header; diff --git a/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h b/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h index 09d9cffce98..88b08041192 100644 --- a/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h +++ b/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h @@ -34,6 +34,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + // Properties of dynamic objects struct KX_ShapeProps { MT_Scalar m_mass; // Total mass diff --git a/source/gameengine/Ketsji/KX_PositionInterpolator.h b/source/gameengine/Ketsji/KX_PositionInterpolator.h index 71f5b354088..edcdb4b0b1f 100644 --- a/source/gameengine/Ketsji/KX_PositionInterpolator.h +++ b/source/gameengine/Ketsji/KX_PositionInterpolator.h @@ -34,6 +34,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class MT_Point3; class KX_IScalarInterpolator; diff --git a/source/gameengine/Ketsji/KX_PyConstraintBinding.h b/source/gameengine/Ketsji/KX_PyConstraintBinding.h index 0afa049d9e2..3eed2482fde 100644 --- a/source/gameengine/Ketsji/KX_PyConstraintBinding.h +++ b/source/gameengine/Ketsji/KX_PyConstraintBinding.h @@ -32,9 +32,11 @@ #ifndef PHY_PYTHON_CONSTRAINTBINDING #define PHY_PYTHON_CONSTRAINTBINDING - #include +#ifdef HAVE_CONFIG_H +#include +#endif PyObject* initPythonConstraintBinding(); void PHY_RemovePythonConstraintBinding(); diff --git a/source/gameengine/Ketsji/KX_PythonInit.h b/source/gameengine/Ketsji/KX_PythonInit.h index 7999014991a..cd0b31a5b81 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.h +++ b/source/gameengine/Ketsji/KX_PythonInit.h @@ -35,6 +35,10 @@ #include "KX_Python.h" #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif + typedef enum { psl_Lowest = 0, psl_Highest diff --git a/source/gameengine/Ketsji/KX_RadarSensor.h b/source/gameengine/Ketsji/KX_RadarSensor.h index 77e085d29a3..c37efef2fa3 100644 --- a/source/gameengine/Ketsji/KX_RadarSensor.h +++ b/source/gameengine/Ketsji/KX_RadarSensor.h @@ -35,6 +35,10 @@ #include "KX_NearSensor.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Radar 'cone' sensor. Very similar to a near-sensor, but instead of a sphere, a cone is used. */ diff --git a/source/gameengine/Ketsji/KX_RayEventManager.h b/source/gameengine/Ketsji/KX_RayEventManager.h index c982abac5eb..dabd3eb27b0 100644 --- a/source/gameengine/Ketsji/KX_RayEventManager.h +++ b/source/gameengine/Ketsji/KX_RayEventManager.h @@ -37,6 +37,11 @@ #include "SCA_EventManager.h" #include using namespace std; + +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_RayEventManager : public SCA_EventManager { diff --git a/source/gameengine/Ketsji/KX_RaySensor.h b/source/gameengine/Ketsji/KX_RaySensor.h index 4a783b398b4..97fd999478e 100644 --- a/source/gameengine/Ketsji/KX_RaySensor.h +++ b/source/gameengine/Ketsji/KX_RaySensor.h @@ -38,6 +38,10 @@ #include "SCA_ISensor.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_RaySensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h index d5176bcd38e..2ea728ea19c 100644 --- a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h +++ b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h @@ -46,6 +46,10 @@ #include "MT_Vector3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_IScene; class KX_SCA_AddObjectActuator : public SCA_IActuator diff --git a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h index 60c97322223..478d17f8456 100644 --- a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h +++ b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h @@ -40,6 +40,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SCA_IScene; class KX_SCA_EndObjectActuator : public SCA_IActuator diff --git a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h index e0bb2c0a9b8..2b046f0e103 100644 --- a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h +++ b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h @@ -46,6 +46,10 @@ #include "RAS_MeshObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_SCA_ReplaceMeshActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SG_NodeRelationships.h b/source/gameengine/Ketsji/KX_SG_NodeRelationships.h index 33dd0323370..d5aa383d9ae 100644 --- a/source/gameengine/Ketsji/KX_SG_NodeRelationships.h +++ b/source/gameengine/Ketsji/KX_SG_NodeRelationships.h @@ -50,6 +50,9 @@ #include "SG_Spatial.h" #include "SG_ParentRelation.h" +#ifdef HAVE_CONFIG_H +#include +#endif class KX_NormalParentRelation : public SG_ParentRelation { diff --git a/source/gameengine/Ketsji/KX_ScalarInterpolator.h b/source/gameengine/Ketsji/KX_ScalarInterpolator.h index 72e8203d3c4..2df0544d9eb 100644 --- a/source/gameengine/Ketsji/KX_ScalarInterpolator.h +++ b/source/gameengine/Ketsji/KX_ScalarInterpolator.h @@ -35,6 +35,10 @@ #include "MT_Scalar.h" #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_IScalarInterpolator; class KX_ScalarInterpolator : public KX_IInterpolator { diff --git a/source/gameengine/Ketsji/KX_ScalingInterpolator.h b/source/gameengine/Ketsji/KX_ScalingInterpolator.h index 25c5cc87d83..2aa699441ad 100644 --- a/source/gameengine/Ketsji/KX_ScalingInterpolator.h +++ b/source/gameengine/Ketsji/KX_ScalingInterpolator.h @@ -34,6 +34,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class MT_Vector3; class KX_IScalarInterpolator; diff --git a/source/gameengine/Ketsji/KX_Scene.h b/source/gameengine/Ketsji/KX_Scene.h index 818368561e6..691e7896a60 100644 --- a/source/gameengine/Ketsji/KX_Scene.h +++ b/source/gameengine/Ketsji/KX_Scene.h @@ -49,6 +49,10 @@ #include "RAS_FramingManager.h" #include "RAS_Rect.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * @section Forward declarations */ diff --git a/source/gameengine/Ketsji/KX_SceneActuator.h b/source/gameengine/Ketsji/KX_SceneActuator.h index 38de267092c..045e3d49946 100644 --- a/source/gameengine/Ketsji/KX_SceneActuator.h +++ b/source/gameengine/Ketsji/KX_SceneActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_SceneActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SoundActuator.h b/source/gameengine/Ketsji/KX_SoundActuator.h index 0ae1ef39d97..fa535baf489 100644 --- a/source/gameengine/Ketsji/KX_SoundActuator.h +++ b/source/gameengine/Ketsji/KX_SoundActuator.h @@ -37,6 +37,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_SoundActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SumoPhysicsController.h b/source/gameengine/Ketsji/KX_SumoPhysicsController.h index 523e139fc69..7ab7b7551b3 100644 --- a/source/gameengine/Ketsji/KX_SumoPhysicsController.h +++ b/source/gameengine/Ketsji/KX_SumoPhysicsController.h @@ -14,6 +14,10 @@ #include "SumoPhysicsController.h" #include "KX_IPhysicsController.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_SumoPhysicsController : public KX_IPhysicsController, public SumoPhysicsController diff --git a/source/gameengine/Ketsji/KX_TimeCategoryLogger.h b/source/gameengine/Ketsji/KX_TimeCategoryLogger.h index b96b1202f4c..82c30d3ac62 100644 --- a/source/gameengine/Ketsji/KX_TimeCategoryLogger.h +++ b/source/gameengine/Ketsji/KX_TimeCategoryLogger.h @@ -33,6 +33,10 @@ #ifndef __KX_TIME_CATEGORY_LOGGER_H #define __KX_TIME_CATEGORY_LOGGER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif diff --git a/source/gameengine/Ketsji/KX_TimeLogger.h b/source/gameengine/Ketsji/KX_TimeLogger.h index a251e323d4c..b956d568c8b 100644 --- a/source/gameengine/Ketsji/KX_TimeLogger.h +++ b/source/gameengine/Ketsji/KX_TimeLogger.h @@ -33,6 +33,10 @@ #ifndef __KX_TIME_LOGGER_H #define __KX_TIME_LOGGER_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif diff --git a/source/gameengine/Ketsji/KX_TouchEventManager.h b/source/gameengine/Ketsji/KX_TouchEventManager.h index e92a046d488..ffe28b6cb6e 100644 --- a/source/gameengine/Ketsji/KX_TouchEventManager.h +++ b/source/gameengine/Ketsji/KX_TouchEventManager.h @@ -39,6 +39,10 @@ #include using namespace std; +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_TouchEventManager : public SCA_EventManager { diff --git a/source/gameengine/Ketsji/KX_TouchSensor.h b/source/gameengine/Ketsji/KX_TouchSensor.h index 35b23ecc60a..9e56de9d193 100644 --- a/source/gameengine/Ketsji/KX_TouchSensor.h +++ b/source/gameengine/Ketsji/KX_TouchSensor.h @@ -40,6 +40,10 @@ #include "KX_ClientObjectInfo.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_TouchSensor : public SCA_ISensor { protected: diff --git a/source/gameengine/Ketsji/KX_TrackToActuator.h b/source/gameengine/Ketsji/KX_TrackToActuator.h index f549969a9f9..2d66c9bfe53 100644 --- a/source/gameengine/Ketsji/KX_TrackToActuator.h +++ b/source/gameengine/Ketsji/KX_TrackToActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" #include "SCA_IObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_TrackToActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_VertexProxy.h b/source/gameengine/Ketsji/KX_VertexProxy.h index 8226c2b4558..ad46bd7400e 100644 --- a/source/gameengine/Ketsji/KX_VertexProxy.h +++ b/source/gameengine/Ketsji/KX_VertexProxy.h @@ -34,6 +34,10 @@ #include "SCA_IObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_VertexProxy : public SCA_IObject { Py_Header; diff --git a/source/gameengine/Ketsji/KX_VisibilityActuator.h b/source/gameengine/Ketsji/KX_VisibilityActuator.h index 7e9a0aeca75..2e109a21345 100644 --- a/source/gameengine/Ketsji/KX_VisibilityActuator.h +++ b/source/gameengine/Ketsji/KX_VisibilityActuator.h @@ -36,6 +36,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_VisibilityActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_WorldInfo.h b/source/gameengine/Ketsji/KX_WorldInfo.h index c76fa188f7c..c10f4155664 100644 --- a/source/gameengine/Ketsji/KX_WorldInfo.h +++ b/source/gameengine/Ketsji/KX_WorldInfo.h @@ -34,6 +34,9 @@ #include "MT_Scalar.h" +#ifdef HAVE_CONFIG_H +#include +#endif class MT_CmMatrix4x4; diff --git a/source/gameengine/Ketsji/KX_WorldIpoController.h b/source/gameengine/Ketsji/KX_WorldIpoController.h index 36b457adfda..eeb1aad33b4 100644 --- a/source/gameengine/Ketsji/KX_WorldIpoController.h +++ b/source/gameengine/Ketsji/KX_WorldIpoController.h @@ -37,6 +37,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class KX_WorldIpoController : public SG_Controller { public: diff --git a/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h b/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h index bedf27b292b..06774623f2a 100644 --- a/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h +++ b/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h @@ -36,6 +36,10 @@ #include #include "NG_NetworkDeviceInterface.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class NG_LoopBackNetworkDeviceInterface : public NG_NetworkDeviceInterface { enum { diff --git a/source/gameengine/Network/NG_NetworkDeviceInterface.h b/source/gameengine/Network/NG_NetworkDeviceInterface.h index c191cf41278..3dc733fba4c 100644 --- a/source/gameengine/Network/NG_NetworkDeviceInterface.h +++ b/source/gameengine/Network/NG_NetworkDeviceInterface.h @@ -36,9 +36,12 @@ #define NG_NETWORKDEVICEINTERFACE_H #include "NG_NetworkMessage.h" - #include +#ifdef HAVE_CONFIG_H +#include +#endif + class NG_NetworkDeviceInterface { private: diff --git a/source/gameengine/Network/NG_NetworkMessage.h b/source/gameengine/Network/NG_NetworkMessage.h index b3efea402b2..2b8face9877 100644 --- a/source/gameengine/Network/NG_NetworkMessage.h +++ b/source/gameengine/Network/NG_NetworkMessage.h @@ -35,6 +35,10 @@ #include "STR_HashedString.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class NG_NetworkMessage { static int s_nextID; diff --git a/source/gameengine/Network/NG_NetworkObject.h b/source/gameengine/Network/NG_NetworkObject.h index b5499010512..2eb04f7d829 100644 --- a/source/gameengine/Network/NG_NetworkObject.h +++ b/source/gameengine/Network/NG_NetworkObject.h @@ -35,6 +35,10 @@ #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class NG_NetworkObject { STR_String m_name; diff --git a/source/gameengine/Network/NG_NetworkScene.h b/source/gameengine/Network/NG_NetworkScene.h index 62546429e67..19c6e6854bd 100644 --- a/source/gameengine/Network/NG_NetworkScene.h +++ b/source/gameengine/Network/NG_NetworkScene.h @@ -36,6 +36,11 @@ #include "GEN_Map.h" #include "STR_HashedString.h" #include + +#ifdef HAVE_CONFIG_H +#include +#endif + class NG_NetworkDeviceInterface; class NG_NetworkScene diff --git a/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h b/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h index 9e92b4f78ed..605dc65db0e 100644 --- a/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h +++ b/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h @@ -34,11 +34,13 @@ #define NG_TERRAPLAYNETWORKDEVICEINTERFACE_H #include - #include "GASInterface.h" - #include "NG_NetworkDeviceInterface.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class NG_TerraplayNetworkDeviceInterface : public NG_NetworkDeviceInterface { std::deque m_messages; diff --git a/source/gameengine/Physics/BlOde/OdePhysicsController.h b/source/gameengine/Physics/BlOde/OdePhysicsController.h index 673bea1bed7..79b0a817692 100644 --- a/source/gameengine/Physics/BlOde/OdePhysicsController.h +++ b/source/gameengine/Physics/BlOde/OdePhysicsController.h @@ -25,6 +25,10 @@ #include "PHY_IPhysicsController.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** ODE Physics Controller, a special kind of a PhysicsController. diff --git a/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h b/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h index 78e8853f2f4..8c7805c3470 100644 --- a/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h +++ b/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h @@ -25,6 +25,10 @@ #include "PHY_IPhysicsEnvironment.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.) diff --git a/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h b/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h index 2980bc9bd83..a724cf2d30f 100644 --- a/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h +++ b/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h @@ -32,9 +32,12 @@ #ifndef _DUMMYPHYSICSENVIRONMENT #define _DUMMYPHYSICSENVIRONMENT - #include "PHY_IPhysicsEnvironment.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * DummyPhysicsEnvironment is an empty placeholder * Alternatives are ODE,Sumo and Dynamo PhysicsEnvironments diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h index a43ddbec483..0944ea1342f 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h @@ -1,6 +1,10 @@ #ifndef SM_CALLBACK_H #define SM_CALLBACK_H +#ifdef HAVE_CONFIG_H +#include +#endif + class SM_Callback { public: virtual void do_me() = 0; diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h index 9e1ec5167bb..64c0d473f88 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h @@ -1,6 +1,10 @@ #ifndef __SM_CLIENTOBJECT_INFO_H #define __SM_CLIENTOBJECT_INFO_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Client Type and Additional Info. This structure can be use instead of a bare void* pointer, for safeness, and additional info for callbacks */ diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h index 36ba075eeff..20aee4c7fa7 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h @@ -3,6 +3,10 @@ #include "SM_Object.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SM_FhObject : public SM_Object { public: SM_FhObject() {} diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h index 92cecbdebaa..502c3174984 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h @@ -3,6 +3,10 @@ #include "MT_Transform.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SM_MotionState { public: SM_MotionState() : diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h index b81d8a7b81e..53a791b781f 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h @@ -9,6 +9,9 @@ #include "SM_MotionState.h" #include +#ifdef HAVE_CONFIG_H +#include +#endif class SM_FhObject; diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h index fb3f13c7b96..760e3e84d6d 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h @@ -34,6 +34,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + // Properties of dynamic objects struct SM_ShapeProps { MT_Scalar m_mass; // Total mass diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h index 1d4a4afc721..3789a1e854b 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h @@ -18,6 +18,10 @@ #include "MT_Vector3.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SM_Object; class SM_Scene { diff --git a/source/gameengine/Physics/Sumo/SumoPhysicsController.h b/source/gameengine/Physics/Sumo/SumoPhysicsController.h index 5b15385cf55..11bc0d581c4 100644 --- a/source/gameengine/Physics/Sumo/SumoPhysicsController.h +++ b/source/gameengine/Physics/Sumo/SumoPhysicsController.h @@ -32,11 +32,13 @@ #ifndef __SUMO_PHYSICSCONTROLLER_H #define __SUMO_PHYSICSCONTROLLER_H - #include "PHY_IPhysicsController.h" #include "SM_Scene.h" #include "SM_Callback.h" +#ifdef HAVE_CONFIG_H +#include +#endif /** Sumo Physics Controller, a special kind of a PhysicsController. diff --git a/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h b/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h index 1109ba0e738..bbd5e2c05c5 100644 --- a/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h +++ b/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h @@ -32,11 +32,13 @@ #ifndef _SUMOPhysicsEnvironment #define _SUMOPhysicsEnvironment - #include "PHY_IPhysicsEnvironment.h" - #include "solid.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.) * A derived class may be able to 'construct' entities by loading and/or converting diff --git a/source/gameengine/Physics/Sumo/include/interpolator.h b/source/gameengine/Physics/Sumo/include/interpolator.h index 055c242edc7..59d769e7f75 100644 --- a/source/gameengine/Physics/Sumo/include/interpolator.h +++ b/source/gameengine/Physics/Sumo/include/interpolator.h @@ -3,6 +3,10 @@ #include "solid_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/gameengine/Physics/Sumo/include/solid.h b/source/gameengine/Physics/Sumo/include/solid.h index 00f282ed2a7..c8129a78ac4 100644 --- a/source/gameengine/Physics/Sumo/include/solid.h +++ b/source/gameengine/Physics/Sumo/include/solid.h @@ -3,6 +3,10 @@ #include "solid_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/gameengine/Physics/Sumo/include/solid_broadphase.h b/source/gameengine/Physics/Sumo/include/solid_broadphase.h index 20847898091..157a112176b 100644 --- a/source/gameengine/Physics/Sumo/include/solid_broadphase.h +++ b/source/gameengine/Physics/Sumo/include/solid_broadphase.h @@ -3,6 +3,10 @@ #include "solid_types.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/gameengine/Physics/Sumo/include/solid_types.h b/source/gameengine/Physics/Sumo/include/solid_types.h index 64b345c1e09..438993c22d2 100644 --- a/source/gameengine/Physics/Sumo/include/solid_types.h +++ b/source/gameengine/Physics/Sumo/include/solid_types.h @@ -1,6 +1,10 @@ #ifndef SOLID_TYPES_H #define SOLID_TYPES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define DT_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name typedef double DT_Scalar; diff --git a/source/gameengine/Physics/common/PHY_DynamicTypes.h b/source/gameengine/Physics/common/PHY_DynamicTypes.h index 0b3b25ee8f1..fb7de622cf1 100644 --- a/source/gameengine/Physics/common/PHY_DynamicTypes.h +++ b/source/gameengine/Physics/common/PHY_DynamicTypes.h @@ -32,6 +32,10 @@ #ifndef __PHY_DYNAMIC_TYPES #define __PHY_DYNAMIC_TYPES +#ifdef HAVE_CONFIG_H +#include +#endif + /// PHY_ScalarType enumerates possible scalar types. /// See the PHY_IMeshInterface for its use typedef enum PHY_ScalarType { diff --git a/source/gameengine/Physics/common/PHY_IMotionState.h b/source/gameengine/Physics/common/PHY_IMotionState.h index 9a3ac2e6f74..89423670408 100644 --- a/source/gameengine/Physics/common/PHY_IMotionState.h +++ b/source/gameengine/Physics/common/PHY_IMotionState.h @@ -32,6 +32,9 @@ #ifndef PHY__MOTIONSTATE_H #define PHY__MOTIONSTATE_H +#ifdef HAVE_CONFIG_H +#include +#endif /** PHY_IMotionState is the Interface to explicitly synchronize the world transformation. diff --git a/source/gameengine/Physics/common/PHY_IPhysicsController.h b/source/gameengine/Physics/common/PHY_IPhysicsController.h index 69dbd6bfa60..1b7d496e6e5 100644 --- a/source/gameengine/Physics/common/PHY_IPhysicsController.h +++ b/source/gameengine/Physics/common/PHY_IPhysicsController.h @@ -32,6 +32,10 @@ #ifndef PHY_IPHYSICSCONTROLLER_H #define PHY_IPHYSICSCONTROLLER_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** PHY_IPhysicsController is the abstract simplified Interface to a physical object. It contains the IMotionState and IDeformableMesh Interfaces. diff --git a/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h b/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h index e3876efd1dc..089ccb84b83 100644 --- a/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h +++ b/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h @@ -35,6 +35,9 @@ #include #include "PHY_DynamicTypes.h" +#ifdef HAVE_CONFIG_H +#include +#endif /** * Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.) diff --git a/source/gameengine/Physics/common/PHY_Pro.h b/source/gameengine/Physics/common/PHY_Pro.h index dddd93df7b4..dd0d1dde84a 100644 --- a/source/gameengine/Physics/common/PHY_Pro.h +++ b/source/gameengine/Physics/common/PHY_Pro.h @@ -34,6 +34,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + // Properties of dynamic objects struct PHY_ShapeProps { MT_Scalar m_mass; // Total mass diff --git a/source/gameengine/Rasterizer/RAS_BucketManager.h b/source/gameengine/Rasterizer/RAS_BucketManager.h index 72427473fc1..d07bb32e90e 100644 --- a/source/gameengine/Rasterizer/RAS_BucketManager.h +++ b/source/gameengine/Rasterizer/RAS_BucketManager.h @@ -38,6 +38,10 @@ #include "RAS_MaterialBucket.h" #include "GEN_Map.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class RAS_BucketManager { diff --git a/source/gameengine/Rasterizer/RAS_CameraData.h b/source/gameengine/Rasterizer/RAS_CameraData.h index b136aedf405..55355f1c075 100644 --- a/source/gameengine/Rasterizer/RAS_CameraData.h +++ b/source/gameengine/Rasterizer/RAS_CameraData.h @@ -32,6 +32,10 @@ #ifndef __RAS_CAMERADATA_H #define __RAS_CAMERADATA_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct RAS_CameraData { float m_lens; diff --git a/source/gameengine/Rasterizer/RAS_Deformer.h b/source/gameengine/Rasterizer/RAS_Deformer.h index 9aeb85c5740..826e393dfa5 100644 --- a/source/gameengine/Rasterizer/RAS_Deformer.h +++ b/source/gameengine/Rasterizer/RAS_Deformer.h @@ -33,6 +33,10 @@ #ifndef RAS_DEFORMER #define RAS_DEFORMER +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Rasterizer/RAS_FramingManager.h b/source/gameengine/Rasterizer/RAS_FramingManager.h index 8b3cc1b2f19..648a3909ae3 100644 --- a/source/gameengine/Rasterizer/RAS_FramingManager.h +++ b/source/gameengine/Rasterizer/RAS_FramingManager.h @@ -32,6 +32,10 @@ #ifndef RAS_FRAMINGMANAGER_H #define RAS_FRAMINGMANAGER_H +#ifdef HAVE_CONFIG_H +#include +#endif + class RAS_Rect; /** diff --git a/source/gameengine/Rasterizer/RAS_ICanvas.h b/source/gameengine/Rasterizer/RAS_ICanvas.h index f1f2a8bcf62..18832cd58c3 100644 --- a/source/gameengine/Rasterizer/RAS_ICanvas.h +++ b/source/gameengine/Rasterizer/RAS_ICanvas.h @@ -32,6 +32,10 @@ #ifndef __RAS_ICANVAS #define __RAS_ICANVAS +#ifdef HAVE_CONFIG_H +#include +#endif + /** * 2D rendering device context. The connection from 3d rendercontext to 2d surface. */ diff --git a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h index 0855c74f9dd..7130a15cc99 100644 --- a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h +++ b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h @@ -34,6 +34,9 @@ #include "STR_HashedString.h" +#ifdef HAVE_CONFIG_H +#include +#endif /** * Polygon Material on which the material buckets are sorted diff --git a/source/gameengine/Rasterizer/RAS_IRasterizer.h b/source/gameengine/Rasterizer/RAS_IRasterizer.h index d3a2a74887c..13afe5ee113 100644 --- a/source/gameengine/Rasterizer/RAS_IRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_IRasterizer.h @@ -32,6 +32,10 @@ #ifndef __RAS_IRASTERIZER #define __RAS_IRASTERIZER +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif diff --git a/source/gameengine/Rasterizer/RAS_IRenderTools.h b/source/gameengine/Rasterizer/RAS_IRenderTools.h index 2fafed4cfa8..1432d3acc46 100644 --- a/source/gameengine/Rasterizer/RAS_IRenderTools.h +++ b/source/gameengine/Rasterizer/RAS_IRenderTools.h @@ -35,10 +35,13 @@ #include "MT_Transform.h" #include "RAS_IRasterizer.h" - #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + class RAS_IPolyMaterial; struct RAS_LightObject; diff --git a/source/gameengine/Rasterizer/RAS_LightObject.h b/source/gameengine/Rasterizer/RAS_LightObject.h index 0c313df80c8..fd637d64eda 100644 --- a/source/gameengine/Rasterizer/RAS_LightObject.h +++ b/source/gameengine/Rasterizer/RAS_LightObject.h @@ -34,6 +34,10 @@ #include "MT_CmMatrix4x4.h" +#ifdef HAVE_CONFIG_H +#include +#endif + struct RAS_LightObject { enum LightType{ diff --git a/source/gameengine/Rasterizer/RAS_MaterialBucket.h b/source/gameengine/Rasterizer/RAS_MaterialBucket.h index 6e5307ca5ed..4716b0615db 100644 --- a/source/gameengine/Rasterizer/RAS_MaterialBucket.h +++ b/source/gameengine/Rasterizer/RAS_MaterialBucket.h @@ -44,6 +44,10 @@ #include using namespace std; +#ifdef HAVE_CONFIG_H +#include +#endif + typedef vector< vector* > vecVertexArray; typedef vector KX_IndexArray; typedef vector< KX_IndexArray* > vecIndexArrays; diff --git a/source/gameengine/Rasterizer/RAS_MeshObject.h b/source/gameengine/Rasterizer/RAS_MeshObject.h index ad4bbb4bbb2..2bed25cb7b5 100644 --- a/source/gameengine/Rasterizer/RAS_MeshObject.h +++ b/source/gameengine/Rasterizer/RAS_MeshObject.h @@ -32,6 +32,9 @@ #ifndef __RAS_MESHOBJECT #define __RAS_MESHOBJECT +#ifdef HAVE_CONFIG_H +#include +#endif #ifdef WIN32 // disable the STL warnings ("debug information length > 255") diff --git a/source/gameengine/Rasterizer/RAS_ObjectColor.h b/source/gameengine/Rasterizer/RAS_ObjectColor.h index 1592fc57e77..1f8c0674cac 100644 --- a/source/gameengine/Rasterizer/RAS_ObjectColor.h +++ b/source/gameengine/Rasterizer/RAS_ObjectColor.h @@ -32,6 +32,10 @@ #ifndef __RAS_OBJECTCOLOR_H #define __RAS_OBJECTCOLOR_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct RAS_ObjectColor { float m_red; float m_green; diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h index b87abb9c3dd..ce0be3725b8 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h @@ -32,6 +32,10 @@ #ifndef __RAS_CHECKVERTEXARRAYS #define __RAS_CHECKVERTEXARRAYS +#ifdef HAVE_CONFIG_H +#include +#endif + bool RAS_SystemSupportsVertexArrays(); #endif //__RAS_CHECKVERTEXARRAYS diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h index 58573bdf5a7..0f926be7fd5 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h @@ -32,6 +32,10 @@ #ifndef __RAS_OPENGLRASTERIZER #define __RAS_OPENGLRASTERIZER +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h index 6a44d36277b..fd9ab791992 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h @@ -32,6 +32,10 @@ #ifndef __KX_VERTEXARRAYOPENGLRASTERIZER #define __KX_VERTEXARRAYOPENGLRASTERIZER +#ifdef HAVE_CONFIG_H +#include +#endif + #include "RAS_OpenGLRasterizer.h" class RAS_VAOpenGLRasterizer : public RAS_OpenGLRasterizer diff --git a/source/gameengine/Rasterizer/RAS_Polygon.h b/source/gameengine/Rasterizer/RAS_Polygon.h index 7c1c0bd7093..26725cdf0fb 100644 --- a/source/gameengine/Rasterizer/RAS_Polygon.h +++ b/source/gameengine/Rasterizer/RAS_Polygon.h @@ -32,6 +32,10 @@ #ifndef __RAS_POLYGON #define __RAS_POLYGON +#ifdef HAVE_CONFIG_H +#include +#endif + #include "RAS_TexVert.h" //#include "KX_BoundingVolumes.h" #include "RAS_MaterialBucket.h" diff --git a/source/gameengine/Rasterizer/RAS_Rect.h b/source/gameengine/Rasterizer/RAS_Rect.h index b15e039b52c..b171bb79020 100644 --- a/source/gameengine/Rasterizer/RAS_Rect.h +++ b/source/gameengine/Rasterizer/RAS_Rect.h @@ -33,6 +33,9 @@ #ifndef _RAS_RECT #define _RAS_RECT +#ifdef HAVE_CONFIG_H +#include +#endif /** * @section interface class. diff --git a/source/gameengine/Rasterizer/RAS_TexMatrix.h b/source/gameengine/Rasterizer/RAS_TexMatrix.h index 619d2751e5d..eb93713d7b6 100644 --- a/source/gameengine/Rasterizer/RAS_TexMatrix.h +++ b/source/gameengine/Rasterizer/RAS_TexMatrix.h @@ -35,11 +35,12 @@ #include "MT_Matrix3x3.h" #include "MT_Point3.h" #include "MT_Point2.h" - - - #include "RAS_TexVert.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void RAS_CalcTexMatrix(RAS_TexVert p[3],MT_Point3& origin,MT_Vector3& udir,MT_Vector3& vdir); #endif //__RASTEXMATRIX diff --git a/source/gameengine/Rasterizer/RAS_TexVert.h b/source/gameengine/Rasterizer/RAS_TexVert.h index 9b16e37a97d..634216aead0 100644 --- a/source/gameengine/Rasterizer/RAS_TexVert.h +++ b/source/gameengine/Rasterizer/RAS_TexVert.h @@ -37,6 +37,9 @@ #include "MT_Point2.h" #include "MT_Transform.h" +#ifdef HAVE_CONFIG_H +#include +#endif static MT_Point3 g_pt3; static MT_Point2 g_pt2; diff --git a/source/gameengine/SceneGraph/SG_Controller.h b/source/gameengine/SceneGraph/SG_Controller.h index 99cc62344f2..d0075681c1a 100644 --- a/source/gameengine/SceneGraph/SG_Controller.h +++ b/source/gameengine/SceneGraph/SG_Controller.h @@ -35,8 +35,12 @@ #ifndef __SG_CONTROLLER_H #define __SG_CONTROLLER_H - #include "SG_IObject.h" + +#ifdef HAVE_CONFIG_H +#include +#endif + class SG_Controller { public: diff --git a/source/gameengine/SceneGraph/SG_IObject.h b/source/gameengine/SceneGraph/SG_IObject.h index ac2fe9ed9f6..6d610d6dca6 100644 --- a/source/gameengine/SceneGraph/SG_IObject.h +++ b/source/gameengine/SceneGraph/SG_IObject.h @@ -36,6 +36,9 @@ base object that can be part of the scenegraph. */ #include +#ifdef HAVE_CONFIG_H +#include +#endif class SG_Controller; class SG_IObject; diff --git a/source/gameengine/SceneGraph/SG_Node.h b/source/gameengine/SceneGraph/SG_Node.h index e1b40c32ed3..31f796a004f 100644 --- a/source/gameengine/SceneGraph/SG_Node.h +++ b/source/gameengine/SceneGraph/SG_Node.h @@ -33,9 +33,12 @@ #define __SG_NODE_H #include "SG_Spatial.h" - #include +#ifdef HAVE_CONFIG_H +#include +#endif + typedef std::vector NodeList; class SG_Node : public SG_Spatial diff --git a/source/gameengine/SceneGraph/SG_ParentRelation.h b/source/gameengine/SceneGraph/SG_ParentRelation.h index b26c4758480..ba2119c948d 100644 --- a/source/gameengine/SceneGraph/SG_ParentRelation.h +++ b/source/gameengine/SceneGraph/SG_ParentRelation.h @@ -53,6 +53,10 @@ #ifndef __SG_ParentRelation_h #define __SG_ParentRelation_h +#ifdef HAVE_CONFIG_H +#include +#endif + class SG_Spatial; class SG_ParentRelation { diff --git a/source/gameengine/SceneGraph/SG_Spatial.h b/source/gameengine/SceneGraph/SG_Spatial.h index a3302fd8b41..2b9fda40c91 100644 --- a/source/gameengine/SceneGraph/SG_Spatial.h +++ b/source/gameengine/SceneGraph/SG_Spatial.h @@ -36,9 +36,12 @@ #include #include #include // or Quaternion later ? - #include "SG_IObject.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SG_Node; class SG_ParentRelation; diff --git a/source/kernel/gen_messaging/GEN_messaging.h b/source/kernel/gen_messaging/GEN_messaging.h index 3d8b3d5fe10..672d9596885 100644 --- a/source/kernel/gen_messaging/GEN_messaging.h +++ b/source/kernel/gen_messaging/GEN_messaging.h @@ -34,6 +34,9 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif #ifdef __cplusplus extern "C" { diff --git a/source/kernel/gen_system/GEN_DataCache.h b/source/kernel/gen_system/GEN_DataCache.h index 7e4e0127c63..09a58938cc6 100644 --- a/source/kernel/gen_system/GEN_DataCache.h +++ b/source/kernel/gen_system/GEN_DataCache.h @@ -35,6 +35,10 @@ #include "STR_HashedString.h" #include "GEN_Map.h" +#ifdef HAVE_CONFIG_H +#include +#endif + template class GEN_DataCache { diff --git a/source/kernel/gen_system/GEN_HashedPtr.h b/source/kernel/gen_system/GEN_HashedPtr.h index 8fabc9a5516..afd6ed4f4c3 100644 --- a/source/kernel/gen_system/GEN_HashedPtr.h +++ b/source/kernel/gen_system/GEN_HashedPtr.h @@ -33,6 +33,10 @@ #ifndef __GEN_HASHEDPTR #define __GEN_HASHEDPTR +#ifdef HAVE_CONFIG_H +#include +#endif + unsigned int GEN_Hash(unsigned int inDWord); class GEN_HashedPtr diff --git a/source/kernel/gen_system/GEN_Map.h b/source/kernel/gen_system/GEN_Map.h index a01d6c3f6be..fba1b4ecbc6 100644 --- a/source/kernel/gen_system/GEN_Map.h +++ b/source/kernel/gen_system/GEN_Map.h @@ -32,6 +32,10 @@ #ifndef GEN_MAP_H #define GEN_MAP_H +#ifdef HAVE_CONFIG_H +#include +#endif + template class GEN_Map { private: diff --git a/source/kernel/gen_system/GEN_Matrix4x4.h b/source/kernel/gen_system/GEN_Matrix4x4.h index 8fc1539f777..cd0a586b2e0 100644 --- a/source/kernel/gen_system/GEN_Matrix4x4.h +++ b/source/kernel/gen_system/GEN_Matrix4x4.h @@ -34,6 +34,10 @@ #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class GEN_Matrix4x4 { public: diff --git a/source/kernel/gen_system/GEN_SmartPtr.h b/source/kernel/gen_system/GEN_SmartPtr.h index 88dc93528f2..60ed69ffdc5 100644 --- a/source/kernel/gen_system/GEN_SmartPtr.h +++ b/source/kernel/gen_system/GEN_SmartPtr.h @@ -37,6 +37,10 @@ #include // for NULL ! +#ifdef HAVE_CONFIG_H +#include +#endif + /** * @section GEN_SmartPtr * This class defines a smart pointer similar to that defined in diff --git a/source/kernel/gen_system/SYS_SingletonSystem.h b/source/kernel/gen_system/SYS_SingletonSystem.h index 2d0d7088b76..78f240f944d 100644 --- a/source/kernel/gen_system/SYS_SingletonSystem.h +++ b/source/kernel/gen_system/SYS_SingletonSystem.h @@ -38,6 +38,10 @@ #include "STR_HashedString.h" #include "GEN_DataCache.h" +#ifdef HAVE_CONFIG_H +#include +#endif + class SYS_SingletonSystem { public: diff --git a/source/kernel/gen_system/SYS_System.h b/source/kernel/gen_system/SYS_System.h index 4125b662d2b..5da3fd72f2d 100644 --- a/source/kernel/gen_system/SYS_System.h +++ b/source/kernel/gen_system/SYS_System.h @@ -35,6 +35,10 @@ #ifndef __SYSTEM_INCLUDE #define __SYSTEM_INCLUDE +#ifdef HAVE_CONFIG_H +#include +#endif + #define SYS_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name SYS_DECLARE_HANDLE(SYS_SystemHandle);