[xchat-gnome] Perl build fix
- From: Ritesh Khadgaray <rkhadgaray src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xchat-gnome] Perl build fix
- Date: Thu, 12 Jun 2014 10:40:44 +0000 (UTC)
commit 49ea0d31408c1b728f36cdc4dff8f6e593580ae6
Author: Ritesh Khadgaray <khadgaray gmail com>
Date: Thu Jun 12 16:06:57 2014 +0530
Perl build fix
configure.ac | 1 -
plugins/perl/perl.c | 8 ++++++++
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e323c12..9cb7a06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -435,7 +435,6 @@ AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])
# various and sundry defines and flags
-AC_DEFINE(_GNU_SOURCE, [], [Use GNU source])
AC_SUBST([DEPENDENCIES_CFLAGS])
AC_SUBST([DEPENDENCIES_LIBS])
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 7de695a..8c676f4 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -34,10 +34,18 @@
#include "../../config.h" /* for #define OLD_PERL */
#include "xchat-plugin.h"
+#include <EXTERN.h>
+#include <perl.h>
+
static xchat_plugin *ph; /* plugin handle */
static int perl_load_file (char *script_name);
+void xchat_plugin_get_info (char **name, char **desc, char **version, void **reserved);
+int xchat_plugin_init (xchat_plugin * plugin_handle, char **plugin_name,
+ char **plugin_desc, char **plugin_version, char *arg);
+int xchat_plugin_deinit (xchat_plugin * plugin_handle);
+
#ifdef WIN32
static DWORD
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]