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:
parent
ceafd30644
commit
571ea11411
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
|
|
||||||
|
@ -483,7 +484,6 @@ qboolean Sys_GetDesktopParameters(int *width, int *height, int *bpp, int *refres
|
||||||
{
|
{
|
||||||
Display *xtemp;
|
Display *xtemp;
|
||||||
int scr;
|
int scr;
|
||||||
XPixmapFormatValues xpfv;
|
|
||||||
|
|
||||||
xtemp = XOpenDisplay(NULL);
|
xtemp = XOpenDisplay(NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue