summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpPolyPoint.c
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2013-08-16 12:13:52 -0700
committerjsorg71 <jay.sorg@gmail.com>2013-08-16 12:13:52 -0700
commitb8388a65a2d561c23cc08613d1c4d7cf5dbb96d0 (patch)
tree6d606a46f9d52dd7945b88566818704e226e013a /xorg/server/module/rdpPolyPoint.c
parent759d508635a742690aebcf07d4d9dfa2c08beda9 (diff)
parentfa40106a697611a35b57459c9403cc440a0cc865 (diff)
downloadxrdp-proprietary-b8388a65a2d561c23cc08613d1c4d7cf5dbb96d0.tar.gz
xrdp-proprietary-b8388a65a2d561c23cc08613d1c4d7cf5dbb96d0.zip
Merge pull request #90 from neutrinolabs/master
xorg driver, smart card, etc
Diffstat (limited to 'xorg/server/module/rdpPolyPoint.c')
-rw-r--r--xorg/server/module/rdpPolyPoint.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/xorg/server/module/rdpPolyPoint.c b/xorg/server/module/rdpPolyPoint.c
index 6c9c77c1..8379c1c6 100644
--- a/xorg/server/module/rdpPolyPoint.c
+++ b/xorg/server/module/rdpPolyPoint.c
@@ -19,6 +19,17 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/* this should be before all X11 .h files */
+#include <xorg-server.h>
+
+/* all driver need this */
+#include <xf86.h>
+#include <xf86_OSproc.h>
+
#include "rdp.h"
#include "rdpDraw.h"
@@ -31,8 +42,7 @@ void
rdpPolyPointOrg(DrawablePtr pDrawable, GCPtr pGC, int mode,
int npt, DDXPointPtr in_pts)
{
- rdpGCPtr priv;
- GCFuncs *oldFuncs;
+ GC_OP_VARS;
GC_OP_PROLOGUE(pGC);
pGC->ops->PolyPoint(pDrawable, pGC, mode, npt, in_pts);