$OpenBSD: patch-cegui_src_DynamicModule_cpp,v 1.1.1.1 2014/08/19 22:35:01 pascal Exp $
--- cegui/src/DynamicModule.cpp.orig.port	Mon Jul  7 09:06:18 2014
+++ cegui/src/DynamicModule.cpp	Mon Jul 14 09:53:20 2014
@@ -42,7 +42,7 @@
     typedef HMODULE DYNLIB_HANDLE;
 #endif
 
-#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__HAIKU__) || defined(__CYGWIN__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) || defined(__CYGWIN__)
 #   include "dlfcn.h"
 #   define DYNLIB_LOAD( a ) dlopen( (a).c_str(), RTLD_LAZY )
 #   define DYNLIB_GETSYM( a, b ) dlsym( a, (b).c_str() )
@@ -198,7 +198,7 @@ DynamicModule::DynamicModule(const String& name) :
 
     d_pimpl->d_handle = DynLibLoad(d_pimpl->d_moduleName);
 
-#if defined(__linux__) || defined(__APPLE__) || defined(__MINGW32__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__HAIKU__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__MINGW32__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__HAIKU__)
     // see if adding a leading 'lib' helps us to open the library
     if (!d_pimpl->d_handle && d_pimpl->d_moduleName.compare(0, 3, "lib") != 0)
     {
