diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h index 417a1d8500a..b27bce726fc 100644 --- a/drivers/gles3/rasterizer_scene_gles3.h +++ b/drivers/gles3/rasterizer_scene_gles3.h @@ -29,6 +29,9 @@ #ifndef RASTERIZERSCENEGLES3_H #define RASTERIZERSCENEGLES3_H +/* Must come before shaders or the Windows build fails... */ +#include "rasterizer_storage_gles3.h" + #include "drivers/gles3/shaders/cube_to_dp.glsl.h" #include "drivers/gles3/shaders/effect_blur.glsl.h" #include "drivers/gles3/shaders/exposure.glsl.h" @@ -40,7 +43,6 @@ #include "drivers/gles3/shaders/ssao_minify.glsl.h" #include "drivers/gles3/shaders/subsurf_scattering.glsl.h" #include "drivers/gles3/shaders/tonemap.glsl.h" -#include "rasterizer_storage_gles3.h" class RasterizerSceneGLES3 : public RasterizerScene { public: diff --git a/modules/enet/networked_multiplayer_enet.h b/modules/enet/networked_multiplayer_enet.h index 4e95adec107..4b632adcc53 100644 --- a/modules/enet/networked_multiplayer_enet.h +++ b/modules/enet/networked_multiplayer_enet.h @@ -29,10 +29,11 @@ #ifndef NETWORKED_MULTIPLAYER_ENET_H #define NETWORKED_MULTIPLAYER_ENET_H -#include "enet/enet.h" #include "io/compression.h" #include "io/networked_multiplayer_peer.h" +#include + class NetworkedMultiplayerENet : public NetworkedMultiplayerPeer { GDCLASS(NetworkedMultiplayerENet, NetworkedMultiplayerPeer)