Mercurial > mplayer.hg
changeset 6130:e9a309486f18
openbsd a.out needs underscore for dlsym - patch by Bj«Órn Sandell <biorn@dce.chalmers.se>
author | arpi |
---|---|
date | Mon, 20 May 2002 00:04:47 +0000 |
parents | b6de6a3e682d |
children | e6c8285a4bd8 |
files | vidix/vidixlib.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/vidixlib.c Mon May 20 00:01:14 2002 +0000 +++ b/vidix/vidixlib.c Mon May 20 00:04:47 2002 +0000 @@ -24,6 +24,10 @@ #include <dlfcn.h> /* GLIBC specific. Exists under cygwin too! */ #include <dirent.h> +#if defined(__OpenBSD__) && !defined(__ELF__) +#define dlsym(h,s) dlsym(h, "_" s) +#endif + #include "vidixlib.h" #include "../bswap.h"