fix Linux build

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2209 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-04-15 03:44:10 +00:00
parent ceafd30644
commit 571ea11411

View file

@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <sys/wait.h>
#include <sys/mman.h>
#include <errno.h>
#include <X11/Xlib.h>
#include "quakedef.h"
@ -483,7 +484,6 @@ qboolean Sys_GetDesktopParameters(int *width, int *height, int *bpp, int *refres
{
Display *xtemp;
int scr;
XPixmapFormatValues xpfv;
xtemp = XOpenDisplay(NULL);