From 8468b2b9d524832211f8e20791a1459003a563ff Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 24 Apr 2013 15:36:23 -0700 Subject: [PATCH] Move include of dlfcn.h to dlwrap.h 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). --- dlwrap.h | 2 ++ glxwrap.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlwrap.h b/dlwrap.h index 9b6b53d..1dba14a 100644 --- a/dlwrap.h +++ b/dlwrap.h @@ -22,6 +22,8 @@ #ifndef DLWRAP_H #define DLWRAP_H +#include + /* 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 diff --git a/glxwrap.c b/glxwrap.c index e4252d3..80ccf1a 100644 --- a/glxwrap.c +++ b/glxwrap.c @@ -21,12 +21,9 @@ #include "fips.h" -#include - #include #include #include -#include #include -- 2.43.0