$NetBSD: patch-em,v 1.1 2001/10/15 22:46:11 skrll Exp $

--- kwin/plugins.h.orig	Wed Sep  5 00:17:21 2001
+++ kwin/plugins.h
@@ -8,8 +8,8 @@
 
 #include <qpopupmenu.h>
 #include <qstringlist.h>
-#define LT_NON_POSIX_NAMESPACE
-#include <ltdl.h>
+
+#include <klibloader.h>
 
 class QFileInfo;
 
@@ -35,7 +35,8 @@
 protected:
     void shutdownKWin(const QString& error_msg);
     Client* (*alloc_ptr)(Workspace *ws, WId w, int tool);
-    lt_dlhandle handle;
+    KLibLoader* loader;
+    KLibrary* handle;
     QString pluginStr;
 };
 
