summary refs log tree commit diff stats
path: root/plugins/perl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/perl.c2
-rw-r--r--plugins/perl/perl.def4
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index a454b43d..a2763771 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -27,7 +27,7 @@
 #endif
 #ifdef WIN32
 #include <windows.h>
-#define  _INC_DIRENT
+#define  _INC_DIRENT /* disable inclusion of perl's dirent.h, we use an own version for win32 */
 #include "../../src/common/dirent.h"
 #else
 #include <dirent.h>
diff --git a/plugins/perl/perl.def b/plugins/perl/perl.def
new file mode 100644
index 00000000..a2ec6566
--- /dev/null
+++ b/plugins/perl/perl.def
@@ -0,0 +1,4 @@
+EXPORTS

+  xchat_plugin_init

+  xchat_plugin_deinit

+  xchat_plugin_get_info
\ No newline at end of file