From 5dd3d2dbbafee28142552640ac6ef3eef2e6d9d3 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 29 Mar 2012 02:21:01 -0500 Subject: [PATCH] xf86Init: provide ddxBeforeReset ifdef DDXBEFORERESET This is necessary when building Xorg and XWin simultaneously, otherwise undefined symbol errors result in sdksyms.c. Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY Reviewed-by: Jeremy Huddleston --- hw/xfree86/common/xf86Init.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 2a7d0a37e..f42dd1083 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -1580,3 +1580,10 @@ xf86GetBppFromDepth(ScrnInfoPtr pScrn, int depth) else return 0; } + +#ifdef DDXBEFORERESET +void +ddxBeforeReset(void) +{ +} +#endif