From b073f67d1c31e2321d934e252e646716de9b24ff Mon Sep 17 00:00:00 2001 From: arpi Date: Mon, 20 May 2002 00:04:47 +0000 Subject: [PATCH] =?UTF-8?q?openbsd=20a.out=20needs=20underscore=20for=20dl?= =?UTF-8?q?sym=20-=20patch=20by=20Bj=C3=B6rn=20Sandell=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6131 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/vidixlib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vidix/vidixlib.c b/vidix/vidixlib.c index 4fa5cc28ee..7c50c6a655 100644 --- a/vidix/vidixlib.c +++ b/vidix/vidixlib.c @@ -24,6 +24,10 @@ #include /* GLIBC specific. Exists under cygwin too! */ #include +#if defined(__OpenBSD__) && !defined(__ELF__) +#define dlsym(h,s) dlsym(h, "_" s) +#endif + #include "vidixlib.h" #include "../bswap.h"