summary refs log tree commit diff stats
path: root/xchat-wdk.patch
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-11 22:52:30 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-11 22:52:30 +0200
commit6e9bd026943fcca1da88aecc80aaea868b538242 (patch)
tree36e9ee2f15449c3f144c3c3dc8de5ba4c66623a7 /xchat-wdk.patch
parent06d71ca6a801f1c7d2828d31e0a1add4d61f7cbd (diff)
enable the XDCC plugin
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r--xchat-wdk.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch
index f5d512c2..91703c51 100644
--- a/xchat-wdk.patch
+++ b/xchat-wdk.patch
@@ -119,6 +119,22 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/tcl/tclplugin.c xchat-wdk/p
          return 0;
      }
      FreeLibrary(lib);
+diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/xdcc/xdcc.c xchat-wdk/plugins/xdcc/xdcc.c
+--- xchat-wdk.orig/plugins/xdcc/xdcc.c	2002-12-26 04:35:09 +0100
++++ xchat-wdk/plugins/xdcc/xdcc.c	2010-08-11 22:49:06 +0200
+@@ -2,11 +2,11 @@
+ 
+ #include <glib.h>
+ #include <string.h>
+-#include <unistd.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ 
+ #include "xchat-plugin.h"
++#include "../../src/common/xchat.h"
+ 
+ static xchat_plugin *ph;	/* plugin handle */
+ 
 diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/cfgfiles.c xchat-wdk/src/common/cfgfiles.c
 --- xchat-wdk.orig/src/common/cfgfiles.c	2010-08-07 09:14:45 +0200
 +++ xchat-wdk/src/common/cfgfiles.c	2010-08-11 02:10:02 +0200