From 7dbeecaccbc4897dd81113aa00448eec8916c8fa Mon Sep 17 00:00:00 2001 From: tma Date: Thu, 1 Dec 2005 20:45:01 +0000 Subject: * Fix compilation when using SDL and dlopening OpenAL git-svn-id: svn://svn.icculus.org/quake3/trunk@401 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/qal.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'code/client') diff --git a/code/client/qal.c b/code/client/qal.c index e7513dc..e8869b3 100644 --- a/code/client/qal.c +++ b/code/client/qal.c @@ -45,8 +45,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define OBJFREE(x) FreeLibrary(x) #elif defined __linux__ || defined __FreeBSD__ || defined MACOS_X -#include -#include #include #define OBJTYPE void * #define OBJLOAD(x) dlopen(x, RTLD_LAZY | RTLD_GLOBAL) @@ -57,6 +55,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #error "Your platform has no lib loading code or it is disabled" #endif +#if defined __linux__ || defined __FreeBSD__ || defined MACOS_X +#include +#include +#endif + LPALENABLE qalEnable; LPALDISABLE qalDisable; LPALISENABLED qalIsEnabled; -- cgit v1.2.3