From d97678e059a2cb56432a56494f695513ea08a17a Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 23 Jan 2023 23:17:51 +0100 Subject: [PATCH] Fix potential compiler error Potential problem of "type 'x' already defined". --- r5dev/engine/gl_model_private.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/r5dev/engine/gl_model_private.h b/r5dev/engine/gl_model_private.h index 08ea97d6..5b1f7ac6 100644 --- a/r5dev/engine/gl_model_private.h +++ b/r5dev/engine/gl_model_private.h @@ -6,6 +6,9 @@ // $Date: $ // $NoKeywords: $ //=============================================================================// +#ifndef GL_MODEL_PRIVATE_H +#define GL_MODEL_PRIVATE_H + #include "vpc/keyvalues.h" #include "mathlib/vector.h" #include "common/qlimits.h" @@ -66,4 +69,6 @@ struct model_t // !! CONFIRMED !! spritedata_t sprite; #endif // !DEDICATED }; -}; \ No newline at end of file +}; + +#endif // GL_MODEL_PRIVATE_H \ No newline at end of file