--- freeswitch-1.4.15/libs/iksemel/openssl.m4.orig 2015-04-08 13:30:39.549914074 -0400 +++ freeswitch-1.4.15/libs/iksemel/openssl.m4 2015-04-08 13:31:32.240127455 -0400 @@ -33,7 +33,7 @@ else AC_CHECK_LIB(ssl, TLSv1_method,, HAVE_TLS=0 AC_MSG_WARN(OpenSSL protocol library was not found)) - ],[AC_MSG_WARN(OpenSSL include files were not found)]) + ],[AC_MSG_WARN(OpenSSL include files were not found)],[#include <openssl/safestack.h>]) fi if test x$HAVE_SSL = x1; then --- freeswitch-1.4.15/libs/sofia-sip/m4/sac-openssl.m4.orig 2015-04-08 13:32:22.230392951 -0400 +++ freeswitch-1.4.15/libs/sofia-sip/m4/sac-openssl.m4 2015-04-08 13:32:41.240500606 -0400 @@ -33,7 +33,7 @@ else AC_CHECK_LIB(ssl, TLSv1_method,, HAVE_TLS=0 AC_MSG_WARN(OpenSSL protocol library was not found)) - ],[AC_MSG_WARN(OpenSSL include files were not found)]) + ],[AC_MSG_WARN(OpenSSL include files were not found)],[#include <openssl/safestack.h>]) fi if test x$HAVE_OPENSSL = x1; then