Argh, seriously, I did test that, I just forgot to amend the commit
before pushing.
#include <unistd.h>
#include <sys/mman.h>
#include <stdio.h>
+#include <dlfcn.h>
#ifndef MAP_FAILED
#define MAP_FAILED ((void *)-1)
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)