--- src/brutalplayer.cpp.orig	2007-01-23 07:02:18.000000000 +0300
+++ src/brutalplayer.cpp	2010-10-03 03:44:06.819045878 +0400
@@ -10,6 +10,7 @@
 #include "chessplayer.h"
 #include "options.h"
 
+#include <climits>
 #include <vector>
 #include <time.h>
 
--- src/md3view.cpp.orig	2006-04-19 02:26:16.000000000 +0400
+++ src/md3view.cpp	2010-10-03 03:48:24.944044462 +0400
@@ -72,7 +72,7 @@
 	exit( returnCode );
 }
 
-int initGL( GLvoid );
+int initGL( void );
 // function to reset our viewport after a window resize
 int resizeWindow( int width, int height )
 {
@@ -108,7 +108,7 @@
 
 
 // general OpenGL initialization function
-int initGL( GLvoid )
+int initGL( void )
 {
 	cout << "Initializing OpenGL" << endl;
 	// Enable smooth shading
--- src/objview.cpp.orig	2006-04-19 00:34:25.000000000 +0400
+++ src/objview.cpp	2010-10-03 03:50:18.804043953 +0400
@@ -73,7 +73,7 @@
 	exit( returnCode );
 }
 
-int initGL( GLvoid );
+int initGL( void );
 // function to reset our viewport after a window resize
 int resizeWindow( int width, int height )
 {
@@ -109,7 +109,7 @@
 
 
 // general OpenGL initialization function
-int initGL( GLvoid )
+int initGL( void )
 {
 	cout << "Initializing OpenGL" << endl;
 	// Enable smooth shading
@@ -158,7 +158,7 @@
 }
 
 // Here goes our drawing code
-int drawGLScene( GLvoid )
+int drawGLScene( void )
 {
 	// These are to calculate our fps
 	static GLint T0     = 0;
