diff --git a/common/vid_x11.c b/common/vid_x11.c index a3613a8..fd2103c 100644 --- a/common/vid_x11.c +++ b/common/vid_x11.c @@ -33,7 +33,7 @@ #define _BSD #include -#include +#include #include #include #include @@ -587,7 +587,7 @@ void VID_Init (unsigned char *palette) #ifdef HAS_VIDMODE if (hasvidmode && vid_fullscreen->value) { - int smallest_mode=0, x=MAXINT, y=MAXINT; + int smallest_mode=0, x=INT_MAX, y=INT_MAX; attribs.override_redirect=1; attribmask|=CWOverrideRedirect;