From a8da1758cb2ec60b6f1b49d685caf13244c7eec5 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 12 May 2011 18:21:34 -0400 Subject: [PATCH] FS-2936: attempt to fix the platform that I'll never have to fix --- Makefile.am | 2 +- src/switch_curl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4dd4b6d8b1..fcb2297131 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,7 +103,7 @@ CORE_CFLAGS += -I$(switch_srcdir)/libs/speex/include -Ilibs/speex/include CORE_CFLAGS += -I$(switch_srcdir)/libs/srtp/include CORE_CFLAGS += -I$(switch_srcdir)/libs/srtp/crypto/include -Ilibs/srtp/crypto/include CORE_CFLAGS += -I$(switch_srcdir)/libs/spandsp/src -I$(switch_srcdir)/libs/tiff-3.8.2/libtiff -CORE_CFLAGS += $(LIBCURL_CPPFLAGS) +CORE_CFLAGS += $(LIBCURL_CPPFLAGS) $(openssl_CFLAGS) if ENABLE_CORE_CURL CORE_CFLAGS += -DCORE_USE_CURL diff --git a/src/switch_curl.c b/src/switch_curl.c index 94af5bdca9..02557b06ea 100644 --- a/src/switch_curl.c +++ b/src/switch_curl.c @@ -30,7 +30,7 @@ #include -#ifdef CORE_USE_CURL +#if defined(CORE_USE_CURL) && defined(HAVE_OPENSSL) #include #include