summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
Diffstat (limited to 'vidix')
-rw-r--r--vidix/vidixlib.c4
1 files changed, 4 insertions, 0 deletions
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 <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"