# HG changeset patch # User arpi # Date 1021853087 0 # Node ID e9a309486f189c6cb8010df6d4bb549026c319cc # Parent b6de6a3e682da71fa0162755679c2d19c1c56cc4 openbsd a.out needs underscore for dlsym - patch by Bj«Órn Sandell diff -r b6de6a3e682d -r e9a309486f18 vidix/vidixlib.c --- 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 /* 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"