summaryrefslogtreecommitdiff
path: root/src/mga_arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_arc.c')
-rw-r--r--src/mga_arc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mga_arc.c b/src/mga_arc.c
index 5c9a9cb..aca9f26 100644
--- a/src/mga_arc.c
+++ b/src/mga_arc.c
@@ -23,15 +23,15 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
********************************************************/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_arc.c,v 1.12 2003/07/16 03:08:37 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_arc.c,v 1.12tsi Exp $ */
-#include "X.h"
+#include <X11/X.h>
#include "gcstruct.h"
#include "windowstr.h"
#include "pixmapstr.h"
#include "regionstr.h"
-#include "Xprotostr.h"
+#include <X11/Xprotostr.h>
#include "regionstr.h"
#include "mizerarc.h"
#include "mi.h"
@@ -70,7 +70,8 @@ MGAZeroArc(
){
int yoffset, dyoffset, x, y, a, b, d, mask, k1, k3, dx, dy, tmp;
XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_GC(pGC);
- MGAPtr pMga = MGAPTR(infoRec->pScrn);
+ ScrnInfoPtr pScrn = infoRec->pScrn;
+ MGAPtr pMga = MGAPTR(pScrn);
miZeroArcRec info;
Bool do360;
DDXPointRec org, orgo;