summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpPolyText16.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/server/module/rdpPolyText16.c')
-rw-r--r--xorg/server/module/rdpPolyText16.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/xorg/server/module/rdpPolyText16.c b/xorg/server/module/rdpPolyText16.c
index b5eac8c5..4a716e3f 100644
--- a/xorg/server/module/rdpPolyText16.c
+++ b/xorg/server/module/rdpPolyText16.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,9 +42,8 @@ int
rdpPolyText16Org(DrawablePtr pDrawable, GCPtr pGC,
int x, int y, int count, unsigned short *chars)
{
+ GC_OP_VARS;
int rv;
- rdpGCPtr priv;
- GCFuncs *oldFuncs;
GC_OP_PROLOGUE(pGC);
rv = pGC->ops->PolyText16(pDrawable, pGC, x, y, count, chars);