summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-10-08 15:21:48 +0200
committerSergei Golubchik <sergii@pisem.net>2014-10-08 15:21:48 +0200
commitb2d71434ed24d0901155fe68b0b7ee4fdad0e2d4 (patch)
tree260e07bd4f277a197355d39aa28f019d08db8d84 /plugin
parent6f762cdd6c2805d2b912fa858c36dffdb181b755 (diff)
downloadmariadb-git-b2d71434ed24d0901155fe68b0b7ee4fdad0e2d4.tar.gz
compilation fix for perl-Net-HandlerSocket
Diffstat (limited to 'plugin')
-rw-r--r--plugin/handler_socket/perl-Net-HandlerSocket/HandlerSocket.xs9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugin/handler_socket/perl-Net-HandlerSocket/HandlerSocket.xs b/plugin/handler_socket/perl-Net-HandlerSocket/HandlerSocket.xs
index 8e8d2520337..899941df7ff 100644
--- a/plugin/handler_socket/perl-Net-HandlerSocket/HandlerSocket.xs
+++ b/plugin/handler_socket/perl-Net-HandlerSocket/HandlerSocket.xs
@@ -6,17 +6,14 @@
* See COPYRIGHT.txt for details.
*/
+#undef VERSION
+#include <config.h>
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
-
-/*
- below we'll include (indirectly) my_global.h, which defines
- VERSION too. Undefine our VERSION here.
-*/
-#undef VERSION
#include "hstcpcli.hpp"
#define DBG(x)