+void (*glXGetProcAddress(const GLubyte *procname))(void)
+{
+ void *handle = dlopen(NULL, RTLD_LAZY);
+ return dlsym(handle, (const char *)procname);
+}
+
+void (*glXGetProcAddressARB(const GLubyte *))(void) __attribute__((alias("glXGetProcAddress")));
+