apache-mod_perl/0017-remove-apu_error.h-include.patch

27 lines
759 B
Diff

From 50dc3ffe06d2a869b7cfc4997c56e9f4a368cce0 Mon Sep 17 00:00:00 2001
From: Jan Kaluza <hanzz.k@gmail.com>
Date: Mon, 4 Jun 2012 13:20:07 +0200
Subject: [PATCH 17/28] remove apu_error.h include
---
src/modules/perl/modperl_apache_includes.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/modules/perl/modperl_apache_includes.h b/src/modules/perl/modperl_apache_includes.h
index c2fb6de..6f7bd8b 100644
--- a/src/modules/perl/modperl_apache_includes.h
+++ b/src/modules/perl/modperl_apache_includes.h
@@ -38,7 +38,9 @@
#include "http_core.h"
#include "http_vhost.h"
#include "ap_mpm.h"
+#if !(AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4)
#include "apu_errno.h"
+#endif
#include "util_filter.h"
--
1.7.11.4