$OpenBSD: patch-libsrc_plugin_dlf_h,v 1.1.1.1 2013/04/22 17:32:31 zhuk Exp $
--- libsrc/plugin/dlf.h.orig	Fri Sep  9 05:23:33 2011
+++ libsrc/plugin/dlf.h	Fri Sep  9 05:23:51 2011
@@ -44,7 +44,7 @@
 #endif /* defined (__APPLE_) */
 
 /* dlopen stuff */
-#if defined(HAVE_LIBDL) || defined(__FreeBSD__)
+#if defined(HAVE_LIBDL) || defined(__FreeBSD__) || defined(__OpenBSD__)
 #define DLDAPI_SVR4_DLFCN
 #elif defined(HAVE_SHL_LOAD)
 #define DLDAPI_HP_SHL
