summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-27 01:26:32 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-27 01:26:32 +0200
commita98dc18d55947709e9350da79993bbe8e8cdfa28 (patch)
treea1af1defdc25564d1c6661a9402c08da2084f6ee /plugins
parentaae8c393ed8a840823c4a124379662e36bee844e (diff)
Ignore generated config.h properly on Unix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/perl/perl.c6
-rw-r--r--plugins/python/python.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 38de8208..1ef97f9a 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -32,7 +32,11 @@
 #endif
 
 #undef PACKAGE
-#include "../../config.h"		  /* for #define OLD_PERL */
+#ifdef WIN32
+#include "../../config-win32.h"		  /* for #define OLD_PERL */
+#else
+#include "../../config.h"
+#endif
 #include "hexchat-plugin.h"
 
 static xchat_plugin *ph;		  /* plugin handle */
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 9f3dd211..f866a501 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -58,7 +58,7 @@
 
 #ifdef WIN32
 #include "../../src/dirent/dirent-win32.h"
-#include "../../config.h"
+#include "../../config-win32.h"
 #else
 #include <unistd.h>
 #include <dirent.h>