From: divverent Date: Mon, 12 Nov 2007 15:13:50 +0000 (+0000) Subject: need to include quakedef.h later in the other vid_ files too. Damn glquake.h. X-Git-Tag: xonotic-v0.1.0preview~2789 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=95263788ff29ba10f60227b30b219e984df4abf5;p=xonotic%2Fdarkplaces.git need to include quakedef.h later in the other vid_ files too. Damn glquake.h. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7692 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_glx.c b/vid_glx.c index 68896def..7f5fbe05 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -17,8 +17,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "quakedef.h" - #include #include @@ -27,6 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +#include "quakedef.h" + #include #include #include diff --git a/vid_sdl.c b/vid_sdl.c index 22376f66..39755e52 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -16,12 +16,12 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "quakedef.h" - #undef WIN32_LEAN_AND_MEAN //hush a warning, SDL.h redefines this #include #include +#include "quakedef.h" + // Tell startup code that we have a client int cl_available = true;