diff --git a/Xext/bigreq.c b/Xext/bigreq.c index 2a3012cf7..aa37ed895 100644 --- a/Xext/bigreq.c +++ b/Xext/bigreq.c @@ -33,6 +33,7 @@ from The Open Group. #include #include "dix/dix_priv.h" +#include "dix/request_priv.h" #include "misc.h" #include "os.h" @@ -44,12 +45,13 @@ from The Open Group. static int ProcBigReqDispatch(ClientPtr client) { - REQUEST(xBigReqEnableReq); + REQUEST_HEAD_STRUCT(xBigReqEnableReq); + xBigReqEnableReply rep; if (stuff->brReqType != X_BigReqEnable) return BadRequest; - REQUEST_SIZE_MATCH(xBigReqEnableReq); + client->big_requests = TRUE; rep = (xBigReqEnableReply) { .type = X_Reply,