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.
This commit is contained in:
parent
bde4925f0e
commit
6ab8c5ac6e
@ -22,7 +22,6 @@
|
||||
#include "xrdp_rail.h"
|
||||
#include "log.h"
|
||||
#include <freerdp/settings.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#ifdef XRDP_DEBUG
|
||||
#define LOG_LEVEL 99
|
||||
@ -1368,7 +1367,9 @@ lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc)
|
||||
{
|
||||
struct mod *mod;
|
||||
int i, npoints;
|
||||
XPoint points[4];
|
||||
struct {
|
||||
short x, y;
|
||||
} points[4];
|
||||
int fgcolor;
|
||||
int server_bpp, client_bpp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user