From b2d71434ed24d0901155fe68b0b7ee4fdad0e2d4 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 8 Oct 2014 15:21:48 +0200 Subject: [PATCH] compilation fix for perl-Net-HandlerSocket --- .../perl-Net-HandlerSocket/HandlerSocket.xs | 9 +++------ 1 file 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 + #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)