Skip to content

Commit 796281f

Browse files
committed
Add missing includes
Add missing <winnt.h> include in windows/lang_table.h Add missing typedefs.h and rid.h include in godot_constraint_3d.h Add missing <type_traits> include in iterable.h Add missing forward declarations in rendering_shader_library.h
1 parent 36b9212 commit 796281f

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

core/templates/iterable.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
#pragma once
3232

33+
#include <type_traits>
34+
3335
template <typename I>
3436
class Iterable {
3537
I _begin;

modules/godot_physics_3d/godot_constraint_3d.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030

3131
#pragma once
3232

33+
#include "core/templates/rid.h"
34+
#include "core/typedefs.h"
35+
3336
class GodotBody3D;
3437
class GodotSoftBody3D;
3538

platform/windows/lang_table.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
#pragma once
3232

33+
#include <winnt.h>
34+
3335
struct _WinLocale {
3436
const char *locale;
3537
int main_lang;

servers/rendering/rendering_shader_library.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030

3131
#pragma once
3232

33+
class String;
34+
template <typename T>
35+
class BitField;
36+
3337
class RenderingShaderLibrary {
3438
public:
3539
enum FeatureBits {

0 commit comments

Comments
 (0)