diff options
Diffstat (limited to 'plugins/python/python.c')
-rw-r--r-- | plugins/python/python.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c index fd682082..dcf4fc8f 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -53,10 +53,16 @@ #include <glib.h> #include <string.h> -#include <unistd.h> #include <stdlib.h> #include <sys/types.h> + +#ifdef WIN32 +#include "../../src/common/dirent-win32.h" +#include "../../config.h" +#else +#include <unistd.h> #include <dirent.h> +#endif #include "xchat-plugin.h" #include "Python.h" @@ -68,7 +74,7 @@ #ifdef WIN32 #undef WITH_THREAD /* Thread support locks up xchat on Win32. */ -#define VERSION "0.8/2.4" /* Linked to python24.dll */ +#define VERSION "0.8/2.7" /* Linked to python27.dll */ #else #define VERSION "0.8" #endif |