diff --git a/engine/common/gamma.c b/engine/common/gamma.c index f1fe6e44..59b12059 100644 --- a/engine/common/gamma.c +++ b/engine/common/gamma.c @@ -15,9 +15,6 @@ GNU General Public License for more details. #include "common.h" #include "xash3d_mathlib.h" -#if HAVE_TGMATH_H -#include -#endif //----------------------------------------------------------------------------- // Gamma conversion support diff --git a/public/crtlib.c b/public/crtlib.c index 5c9c24e3..bd67d490 100644 --- a/public/crtlib.c +++ b/public/crtlib.c @@ -21,9 +21,6 @@ GNU General Public License for more details. #include #include "stdio.h" #include "crtlib.h" -#if HAVE_TGMATH_H -#include -#endif void Q_strnupr( const char *in, char *out, size_t size_out ) { diff --git a/public/xash3d_mathlib.c b/public/xash3d_mathlib.c index a6d1b7b2..39f5d1ba 100644 --- a/public/xash3d_mathlib.c +++ b/public/xash3d_mathlib.c @@ -18,9 +18,6 @@ GNU General Public License for more details. #include "com_model.h" #include "xash3d_mathlib.h" #include "eiface.h" -#if HAVE_TGMATH_H -#include -#endif #define NUM_HULL_ROUNDS ARRAYSIZE( hull_table ) #define HULL_PRECISION 4 diff --git a/ref_gl/gl_beams.c b/ref_gl/gl_beams.c index c5c5625a..c2b8830e 100644 --- a/ref_gl/gl_beams.c +++ b/ref_gl/gl_beams.c @@ -22,9 +22,6 @@ GNU General Public License for more details. #include "cl_tent.h" #include "pm_local.h" #include "studio.h" -#if HAVE_TGMATH_H -#include -#endif #define NOISE_DIVISIONS 64 // don't touch - many tripmines cause the crash when it equal 128 diff --git a/ref_gl/gl_rmain.c b/ref_gl/gl_rmain.c index e758be01..cc0d953e 100644 --- a/ref_gl/gl_rmain.c +++ b/ref_gl/gl_rmain.c @@ -19,9 +19,6 @@ GNU General Public License for more details. #include "beamdef.h" #include "particledef.h" #include "entity_types.h" -#if HAVE_TGMATH_H -#include -#endif #define IsLiquidContents( cnt ) ( cnt == CONTENTS_WATER || cnt == CONTENTS_SLIME || cnt == CONTENTS_LAVA ) diff --git a/ref_gl/gl_studio.c b/ref_gl/gl_studio.c index aa9a8db6..81c78bf9 100644 --- a/ref_gl/gl_studio.c +++ b/ref_gl/gl_studio.c @@ -24,10 +24,6 @@ GNU General Public License for more details. //#include "client.h" #include "pmtrace.h" -#if HAVE_TGMATH_H -#include -#endif - #define EVENT_CLIENT 5000 // less than this value it's a server-side studio events #define MAX_LOCALLIGHTS 4