summaryrefslogtreecommitdiffstats
path: root/src/openvpn/pf.c
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-02-29 22:12:13 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-22 22:53:39 +0100
commitc110b289eced4a792fd7c7c29e651b22f602fd24 (patch)
tree1726fe2c60822df227585bb248aaa359e1f970fa /src/openvpn/pf.c
parent4b1a82db0975088dbfe69c2a97f0a96ef972b2a4 (diff)
downloadopenvpn-c110b289eced4a792fd7c7c29e651b22f602fd24.tar.gz
openvpn-c110b289eced4a792fd7c7c29e651b22f602fd24.tar.xz
openvpn-c110b289eced4a792fd7c7c29e651b22f602fd24.zip
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 <alon.barlev@gmail.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/pf.c')
-rw-r--r--src/openvpn/pf.c6
1 files changed, 6 insertions, 0 deletions
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)