xaa: Fix compiler warning (implicit declaration)

xaaInit.c: In function 'XAAInit':
xaaInit.c:201: warning: implicit declaration of function 'miInitializeCompositeWrapper'
xaaInit.c:201: warning: nested extern declaration of 'miInitializeCompositeWrapper'
This commit is contained in:
Julien Cristau 2008-10-26 11:20:33 +01:00
parent aee514cfb5
commit eadf90aa65
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,6 @@ EXTRA_DIST = xaacexp.h xaawrap.h xaaLine.c xaaDashLine.c \
xaaStipple.c xaaTEGlyph.c xaaNonTEGlyph.c xaaBitmap.c \
XAA.HOWTO
INCLUDES = $(XORG_INCS)
INCLUDES = $(XORG_INCS) -I$(srcdir)/../../../miext/cw
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)

View File

@ -19,6 +19,9 @@
#include "xaawrap.h"
#include "xf86fbman.h"
#include "servermd.h"
#ifdef COMPOSITE
#include "cw.h"
#endif
#define MAX_PREALLOC_MEM 65536 /* MUST be >= 1024 */