summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpCopyArea.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/server/module/rdpCopyArea.c')
-rw-r--r--xorg/server/module/rdpCopyArea.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/xorg/server/module/rdpCopyArea.c b/xorg/server/module/rdpCopyArea.c
index dd32644e..91df1896 100644
--- a/xorg/server/module/rdpCopyArea.c
+++ b/xorg/server/module/rdpCopyArea.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 @@ static RegionPtr
rdpCopyAreaOrg(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
int srcx, int srcy, int w, int h, int dstx, int dsty)
{
- rdpGCPtr priv;
- GCFuncs *oldFuncs;
+ GC_OP_VARS;
RegionPtr rv;
GC_OP_PROLOGUE(pGC);