From c110b289eced4a792fd7c7c29e651b22f602fd24 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Wed, 29 Feb 2012 22:12:13 +0200 Subject: build: move out config.h include from syshead Yet another step in reducing the syshead.h content. Conditional compilation of sources needs to be based on a minimum program prefix (config.h only). Signed-off-by: Alon Bar-Lev Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- src/openvpn/crypto_polarssl.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/openvpn/crypto_polarssl.c') diff --git a/src/openvpn/crypto_polarssl.c b/src/openvpn/crypto_polarssl.c index 7a7d9b0..0e6728c 100644 --- a/src/openvpn/crypto_polarssl.c +++ b/src/openvpn/crypto_polarssl.c @@ -27,6 +27,12 @@ * @file Data Channel Cryptography PolarSSL-specific backend interface */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif + #include "syshead.h" #if defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_POLARSSL) -- cgit