From: Ryan Bloom Date: Mon, 20 Aug 2001 22:30:17 +0000 (+0000) Subject: Add the openssl/include/openssl directory to the INCLUDES variable. X-Git-Tag: 2.0.25~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d9bf07bd2f83300c8aaf8d2a887849ae2f75b19;p=apache Add the openssl/include/openssl directory to the INCLUDES variable. This allows us to remove the openssl from the #include lines in the mod_ssl files. This makes it easier to use a different SSL library, with fewer changes to the mod_ssl files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90435 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 217db3bdf6..92ecdb7dbe 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -468,7 +468,7 @@ if test "x$ap_ssltk_base" = "x"; then dnl # annotate the Apache build environment with determined information if test "x$ap_ssltk_incdir" != "x/usr/include"; then - APR_ADDTO(INCLUDES, [-I$ap_ssltk_incdir]) + APR_ADDTO(INCLUDES, [-I$ap_ssltk_incdir -I$ap_ssltk_incdir/openssl]) fi if test "x$ap_ssltk_libdir" != "x/usr/lib"; then APR_ADDTO(LIBS, [-L$ap_ssltk_libdir]) diff --git a/modules/ssl/mod_ssl.h b/modules/ssl/mod_ssl.h index bb3739f474..3e72fc19d8 100644 --- a/modules/ssl/mod_ssl.h +++ b/modules/ssl/mod_ssl.h @@ -104,16 +104,16 @@ #include /* OpenSSL headers */ -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include #ifdef SSL_EXPERIMENTAL_ENGINE -#include +#include #endif /* Apache headers */