From 9f455da123ee2fa9a754c3f674bc71b06d0c2517 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 27 Oct 2000 04:04:26 +0000 Subject: [PATCH] hopefully, this will compile --- source/vid_3dfxsvga.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/vid_3dfxsvga.c b/source/vid_3dfxsvga.c index 10b9f51..cc3ea39 100644 --- a/source/vid_3dfxsvga.c +++ b/source/vid_3dfxsvga.c @@ -33,11 +33,25 @@ #include "config.h" #endif +#ifdef HAVE_STRING_H +#include +#endif #include #include #include #include +#ifdef HAVE_DLFCN_H +# include +#endif +#ifndef RTLD_LAZY +# ifdef DL_LAZY +# define RTLD_LAZY DL_LAZY +# else +# define RTLD_LAZY 0 +# endif +#endif + #include "console.h" #include "glquake.h" #include "qargs.h" @@ -53,6 +67,8 @@ static fxMesaContext fc = NULL; +static void *dlhand; + int VID_options_items = 0; extern void GL_Init_Common(void);