From 96e2bd84932a826d09b7ed2201ba67a0a74f0b29 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 6 Mar 2020 16:45:06 +0100 Subject: Cleanup: Fix forward declaration of headers --- source/blender/gpu/GPU_draw.h | 1 + source/blender/gpu/GPU_init_exit.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index cc681c02009..5ed27d9a648 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -34,6 +34,7 @@ struct Image; struct ImageUser; struct Main; +#include "BLI_utildefines.h" #include "DNA_object_enums.h" /* OpenGL drawing functions related to shading. */ diff --git a/source/blender/gpu/GPU_init_exit.h b/source/blender/gpu/GPU_init_exit.h index 59aef162a9d..0046eaa942b 100644 --- a/source/blender/gpu/GPU_init_exit.h +++ b/source/blender/gpu/GPU_init_exit.h @@ -28,6 +28,8 @@ extern "C" { #endif +#include "BLI_utildefines.h" + void GPU_init(void); void GPU_exit(void); bool GPU_is_initialized(void); -- cgit v1.2.3