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-26 16:08:34 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-26 16:08:34 +0200
commit009cd28a31218d19e48e5b30224c6d1f58621072 (patch)
tree4061af097c0421478db285d9df10e79c830cd569 /xchat-wdk.patch
parent88e6be5b25950cd202c8a885fa8faaefdb9f4d2d (diff)
fix for defines
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r--xchat-wdk.patch12
1 files changed, 3 insertions, 9 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch
index 22b2b6b5..1147707b 100644
--- a/xchat-wdk.patch
+++ b/xchat-wdk.patch
@@ -1,14 +1,7 @@
 diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/perl/perl.c xchat-wdk/plugins/perl/perl.c
 --- xchat-wdk.orig/plugins/perl/perl.c	2010-08-26 04:18:04 +0200
-+++ xchat-wdk/plugins/perl/perl.c	2010-08-26 15:57:47 +0200
-@@ -16,18 +16,21 @@
-  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-  */
- 
-+#define  _INC_DIRENT
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
++++ xchat-wdk/plugins/perl/perl.c	2010-08-26 16:07:52 +0200
+@@ -22,12 +22,15 @@
  #include <sys/types.h>
  #include <sys/stat.h>
  #include <fcntl.h>
@@ -18,6 +11,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/perl/perl.c xchat-wdk/plugi
  #endif
  #ifdef WIN32
  #include <windows.h>
++#define  _INC_DIRENT
 +#include "../../src/common/dirent.h"
 +#else
 +#include <dirent.h>