From f1c82bf9a4d248389ea5a558575e566d17dbd9d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 25 Feb 2008 22:24:09 -0500 Subject: [PATCH] A few more fixes to the dlsym() fix. Argh, seriously, I did test that, I just forgot to amend the commit before pushing. --- src/mesa/drivers/dri/common/dri_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index fa07ab0e56d..8e9f9167cae 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -21,6 +21,7 @@ #include #include #include +#include #ifndef MAP_FAILED #define MAP_FAILED ((void *)-1) @@ -883,7 +884,7 @@ __DRI2_CREATE_NEW_SCREEN(int scrn, __DRIscreen *psc, static const __DRIextension *emptyExtensionList[] = { NULL }; dri_interface = interface; unsigned int *p; - __GLcontextModes *(*initScreen)(__DRIscreen *psc); + __GLcontextModes *(*initScreen)(__DRIscreenPrivate *psc); initScreen = dlsym(NULL, "__dri2DriverInitScreen"); if (initScreen == NULL) -- 2.30.2