diff --git a/common/cl_main.c b/common/cl_main.c index 1a47134..ac8def8 100644 --- a/common/cl_main.c +++ b/common/cl_main.c @@ -52,6 +52,11 @@ #include #endif +#ifdef __sun +/* Sun's model_t in sys/model.h conflicts w/ Quake's model_t */ +#define model_t sunmodel_t +#endif + #include #include #ifdef QUAKEWORLD @@ -85,11 +90,6 @@ #ifdef QUAKEWORLD #include #endif -#ifdef __sun -/* Sun's model_t in sys/model.h conflicts w/ Quake's model_t */ -#define model_t sunmodel_t -#endif - #ifdef __sun #undef model_t #endif