summaryrefslogtreecommitdiffstats
path: root/neutrinordp
diff options
context:
space:
mode:
Diffstat (limited to 'neutrinordp')
-rw-r--r--neutrinordp/xrdp-neutrinordp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/neutrinordp/xrdp-neutrinordp.c b/neutrinordp/xrdp-neutrinordp.c
index 8290b049..9fb3b20d 100644
--- a/neutrinordp/xrdp-neutrinordp.c
+++ b/neutrinordp/xrdp-neutrinordp.c
@@ -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;