From f1c82bf9a4d248389ea5a558575e566d17dbd9d8 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 25 Feb 2008 22:24:09 -0500 Subject: 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(-) (limited to 'src/mesa/drivers/dri/common') diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index fa07ab0e56..8e9f9167ca 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) -- cgit v1.2.3