aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/http/modules/perl/nginx.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index 8f1854b3b..90b4c57a9 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -4,6 +4,8 @@
*/
+#define PERL_NO_GET_CONTEXT
+
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>