It only makes sense to make this header file pull in the underlying
dlfcn.h.
While in the area, also drop an unneeded include of GL/glext.h, (which
gets pulled in by GL/gl.h).
#ifndef DLWRAP_H
#define DLWRAP_H
#ifndef DLWRAP_H
#define DLWRAP_H
/* Call the *real* dlopen. We have our own wrapper for dlopen that, of
* necessity must use claim the symbol 'dlopen'. So whenever anything
* internal needs to call the real, underlying dlopen function, the
/* Call the *real* dlopen. We have our own wrapper for dlopen that, of
* necessity must use claim the symbol 'dlopen'. So whenever anything
* internal needs to call the real, underlying dlopen function, the
#include <X11/Xlib.h>
#include <GL/gl.h>
#include <GL/glx.h>
#include <X11/Xlib.h>
#include <GL/gl.h>
#include <GL/glx.h>