]> git.cworth.org Git - fips/blobdiff - dlwrap.h
glwrap: Don't hardcode "libGL.so.1" for looking up real OpenGL symbols
[fips] / dlwrap.h
index 9b6b53d8d062cf36c71512159272ff0b07e926e0..cad5a62f7d86a901521fcd74e07634d4ee6ca8ed 100644 (file)
--- a/dlwrap.h
+++ b/dlwrap.h
@@ -22,6 +22,9 @@
 #ifndef DLWRAP_H
 #define DLWRAP_H
 
+#define _GNU_SOURCE
+#include <dlfcn.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