]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
need to include quakedef.h later in the other vid_ files too. Damn glquake.h.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Nov 2007 15:13:50 +0000 (15:13 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Nov 2007 15:13:50 +0000 (15:13 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7692 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c
vid_sdl.c

index 68896def99ebd74095bb2629026ced921ae26548..7f5fbe051eb359f4c47cc74f90f8e1cc00f32f53 100644 (file)
--- 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 <signal.h>
 
 #include <dlfcn.h>
@@ -27,6 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include <X11/Xutil.h>
 #include <GL/glx.h>
 
+#include "quakedef.h"
+
 #include <X11/keysym.h>
 #include <X11/cursorfont.h>
 #include <X11/xpm.h>
index 22376f66019de4db68f4c106f44337bd5abdcb8e..39755e526f71ed4df038470ad131e35ed66cdab0 100644 (file)
--- 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 <SDL.h>
 #include <stdio.h>
 
+#include "quakedef.h"
+
 // Tell startup code that we have a client
 int cl_available = true;