build revolution
PATCH 35/35 build: move out config.h include from syshead
In reply to Alon Bar-LevYet 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 <[email protected]...>
--- src/openvpn/base64.c | 6 ++++++ src/openvpn/buffer.c | 6 ++++++ src/openvpn/clinat.c | 6 ++++++ src/openvpn/compat.c | 6 ++++++ src/openvpn/crypto.c | 6 ++++++ src/openvpn/crypto_openssl.c | 6 ++++++ src/openvpn/crypto_polarssl.c | 6 ++++++ src/openvpn/cryptoapi.c | 6 ++++++ src/openvpn/dhcp.c | 6 ++++++ src/openvpn/error.c | 6 ++++++ src/openvpn/event.c | 6 ++++++ src/openvpn/fdmisc.c | 6 ++++++ src/openvpn/forward.c | 6 ++++++ src/openvpn/fragment.c | 6 ++++++ src/openvpn/gremlin.c | 6 ++++++ src/openvpn/helper.c | 6 ++++++ src/openvpn/httpdigest.c | 6 ++++++ src/openvpn/init.c | 6 ++++++ src/openvpn/interval.c | 6 ++++++ src/openvpn/list.c | 6 ++++++ src/openvpn/lladdr.c | 6 ++++++ src/openvpn/lzo.c | 6 ++++++ src/openvpn/manage.c | 6 ++++++ src/openvpn/mbuf.c | 6 ++++++ src/openvpn/misc.c | 6 ++++++ src/openvpn/mroute.c | 6 ++++++ src/openvpn/mss.c | 6 ++++++ src/openvpn/mstats.c | 6 ++++++ src/openvpn/mtcp.c | 6 ++++++ src/openvpn/mtu.c | 6 ++++++ src/openvpn/mudp.c | 6 ++++++ src/openvpn/multi.c | 6 ++++++ src/openvpn/ntlm.c | 6 ++++++ src/openvpn/occ.c | 6 ++++++ src/openvpn/openvpn.c | 6 ++++++ src/openvpn/options.c | 6 ++++++ src/openvpn/otime.c | 6 ++++++ src/openvpn/packet_id.c | 6 ++++++ src/openvpn/perf.c | 6 ++++++ src/openvpn/pf.c | 6 ++++++ src/openvpn/ping.c | 6 ++++++ src/openvpn/pkcs11.c | 6 ++++++ src/openvpn/pkcs11_openssl.c | 6 ++++++ src/openvpn/pkcs11_polarssl.c | 6 ++++++ src/openvpn/plugin.c | 6 ++++++ src/openvpn/pool.c | 6 ++++++ src/openvpn/proto.c | 6 ++++++ src/openvpn/proxy.c | 6 ++++++ src/openvpn/ps.c | 6 ++++++ src/openvpn/push.c | 6 ++++++ src/openvpn/reliable.c | 6 ++++++ src/openvpn/route.c | 6 ++++++ src/openvpn/schedule.c | 6 ++++++ src/openvpn/session_id.c | 6 ++++++ src/openvpn/shaper.c | 6 ++++++ src/openvpn/sig.c | 6 ++++++ src/openvpn/socket.c | 6 ++++++ src/openvpn/socks.c | 6 ++++++ src/openvpn/ssl.c | 6 ++++++ src/openvpn/ssl_openssl.c | 6 ++++++ src/openvpn/ssl_polarssl.c | 6 ++++++ src/openvpn/ssl_verify.c | 6 ++++++ src/openvpn/ssl_verify_openssl.c | 6 ++++++ src/openvpn/ssl_verify_polarssl.c | 6 ++++++ src/openvpn/status.c | 6 ++++++ src/openvpn/syshead.h | 9 --------- src/openvpn/tun.c | 6 ++++++ src/openvpn/win32.c | 7 +++++++ 68 files changed, 403 insertions(+), 9 deletions(-)
src/openvpn/base64.c +6 -0
@@ -31,6 +31,12 @@* SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_HTTP_PROXY ) || defined(ENABLE_PKCS11 ) || defined(ENABLE_CLIENT_CR ) || defined(MANAGMENT_EXTERNAL_KEY )
src/openvpn/buffer.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "common.h"
src/openvpn/clinat.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_CLIENT_NAT )
src/openvpn/compat.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "compat.h" #include <string.h>
src/openvpn/crypto.c +6 -0
@@ -23,6 +23,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_CRYPTO
src/openvpn/crypto_openssl.c +6 -0
@@ -27,6 +27,12 @@* @file Data Channel Cryptography OpenSSL-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_OPENSSL )
src/openvpn/crypto_polarssl.c +6 -0
@@ -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 )
src/openvpn/cryptoapi.c +6 -0
@@ -28,6 +28,12 @@* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_CRYPTOAPI
src/openvpn/dhcp.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "dhcp.h"
src/openvpn/error.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "error.h"
src/openvpn/event.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "buffer.h"
src/openvpn/fdmisc.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "fdmisc.h"
src/openvpn/forward.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "forward.h"
src/openvpn/fragment.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_FRAGMENT
src/openvpn/gremlin.c +6 -0
@@ -27,6 +27,12 @@* network outages when the --gremlin option is used. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_DEBUG
src/openvpn/helper.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "forward.h"
src/openvpn/httpdigest.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if PROXY_DIGEST_AUTH
src/openvpn/init.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "win32.h"
src/openvpn/interval.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "interval.h"
src/openvpn/list.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP_SERVER
src/openvpn/lladdr.c +6 -0
@@ -2,6 +2,12 @@* Support routine for configuring link layer address */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "error.h" #include "misc.h"
src/openvpn/lzo.c +6 -0
@@ -26,6 +26,12 @@* @file Data Channel Compression module function definitions. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_LZO
src/openvpn/manage.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_MANAGEMENT
src/openvpn/mbuf.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP
src/openvpn/misc.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "buffer.h"
src/openvpn/mroute.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP_SERVER
src/openvpn/mss.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "error.h" #include "mss.h"
src/openvpn/mstats.c +6 -0
@@ -26,6 +26,12 @@* Maintain usage stats in a memory-mapped file */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_MEMSTATS )
src/openvpn/mtcp.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP_SERVER
src/openvpn/mtu.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "common.h"
src/openvpn/mudp.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP_SERVER
src/openvpn/multi.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP_SERVER
src/openvpn/ntlm.c +6 -0
@@ -21,6 +21,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if NTLM
src/openvpn/occ.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_OCC
src/openvpn/openvpn.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "init.h"
src/openvpn/options.c +6 -0
@@ -30,6 +30,12 @@* (Christof Meerwald, http://cmeerw.org) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "buffer.h"
src/openvpn/otime.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "otime.h"
src/openvpn/packet_id.c +6 -0
@@ -31,6 +31,12 @@* to IPSec. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_CRYPTO
src/openvpn/perf.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "perf.h"
src/openvpn/pf.c +6 -0
@@ -24,6 +24,12 @@/* packet filter functions */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_PF )
src/openvpn/ping.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "ping.h"
src/openvpn/pkcs11.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_PKCS11 )
src/openvpn/pkcs11_openssl.c +6 -0
@@ -27,6 +27,12 @@* @file PKCS #11 OpenSSL backend */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_PKCS11 ) && defined(ENABLE_CRYPTO_OPENSSL )
src/openvpn/pkcs11_polarssl.c +6 -0
@@ -27,6 +27,12 @@* @file PKCS #11 PolarSSL backend */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_PKCS11 ) && defined(ENABLE_CRYPTO_POLARSSL )
src/openvpn/plugin.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_PLUGIN
src/openvpn/pool.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "pool.h"
src/openvpn/proto.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "proto.h"
src/openvpn/proxy.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "common.h"
src/openvpn/ps.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if PORT_SHARE
src/openvpn/push.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "push.h"
src/openvpn/reliable.c +6 -0
@@ -27,6 +27,12 @@* so that SSL/TLS can be run over UDP. */ +#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_SSL )
src/openvpn/route.c +6 -0
@@ -26,6 +26,12 @@* Support routines for adding/deleting network routes. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "common.h"
src/openvpn/schedule.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if P2MP_SERVER
src/openvpn/session_id.c +6 -0
@@ -31,6 +31,12 @@* it is called the key_id and is currently 2 bits long. */ +#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_SSL )
src/openvpn/shaper.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "shaper.h" #include "memdbg.h"
src/openvpn/sig.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "buffer.h"
src/openvpn/socket.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "socket.h"
src/openvpn/socks.c +6 -0
@@ -30,6 +30,12 @@* (Pierre Bourdon <[email protected]...>) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef ENABLE_SOCKS
src/openvpn/ssl.c +6 -0
@@ -39,6 +39,12 @@* over the same TCP/UDP port. */ +#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_SSL )
src/openvpn/ssl_openssl.c +6 -0
@@ -27,6 +27,12 @@* @file Control Channel OpenSSL Backend */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_SSL ) && defined(ENABLE_CRYPTO_OPENSSL )
src/openvpn/ssl_polarssl.c +6 -0
@@ -27,6 +27,12 @@* @file Control Channel PolarSSL Backend */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_SSL ) && defined(ENABLE_CRYPTO_POLARSSL )
src/openvpn/ssl_verify.c +6 -0
@@ -27,6 +27,12 @@* @file Control Channel Verification Module */ +#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_SSL )
src/openvpn/ssl_verify_openssl.c +6 -0
@@ -27,6 +27,12 @@* @file Control Channel Verification Module OpenSSL implementation */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_SSL ) && defined(ENABLE_CRYPTO_OPENSSL )
src/openvpn/ssl_verify_polarssl.c +6 -0
@@ -27,6 +27,12 @@* @file Control Channel Verification Module PolarSSL backend */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #if defined(ENABLE_SSL ) && defined(ENABLE_CRYPTO_POLARSSL )
src/openvpn/status.c +6 -0
@@ -22,6 +22,12 @@* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "status.h"
src/openvpn/syshead.h +0 -9
@@ -25,15 +25,6 @@#ifndef SYSHEAD_H #define SYSHEAD_H -/* -* Only include if not during configure -*/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#elif defined(_MSC_VER) -#include "config-msvc.h" -#endif -#include "compat.h" /* branch prediction hints */
src/openvpn/tun.c +6 -0
@@ -30,6 +30,12 @@* from VTun by Maxim Krasnyansky <[email protected]...>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #include "tun.h"
src/openvpn/win32.c +7 -0
@@ -26,6 +26,13 @@* Win32-specific OpenVPN code, targetted at the mingw * development environment. */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#elif defined(_MSC_VER) +#include "config-msvc.h" +#endif +#include "syshead.h" #ifdef WIN32
Signature · 1 line
1.7.3.4