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/pf.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/openvpn/pf.c') diff --git a/src/openvpn/pf.c b/src/openvpn/pf.c index 0ef839e..729792e 100644 --- a/src/openvpn/pf.c +++ b/src/openvpn/pf.c @@ -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) -- cgit