Don't include X11/Xlib.h for XPoint, define a replacement

XRDP modules are not X11 clients and should not generally need X11
headers. There is no need to match the X11 structure.
master
Pavel Roskin 9 years ago
parent bde4925f0e
commit 6ab8c5ac6e

@ -22,7 +22,6 @@
#include "xrdp_rail.h" #include "xrdp_rail.h"
#include "log.h" #include "log.h"
#include <freerdp/settings.h> #include <freerdp/settings.h>
#include <X11/Xlib.h>
#ifdef XRDP_DEBUG #ifdef XRDP_DEBUG
#define LOG_LEVEL 99 #define LOG_LEVEL 99
@ -1368,7 +1367,9 @@ lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc)
{ {
struct mod *mod; struct mod *mod;
int i, npoints; int i, npoints;
XPoint points[4]; struct {
short x, y;
} points[4];
int fgcolor; int fgcolor;
int server_bpp, client_bpp; int server_bpp, client_bpp;

Loading…
Cancel
Save