summaryrefslogtreecommitdiffstats
path: root/src/openvpn/mroute.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/mroute.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/mroute.c')
-rw-r--r--src/openvpn/mroute.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openvpn/mroute.c b/src/openvpn/mroute.c
index 285b151..5b53571 100644
--- a/src/openvpn/mroute.c
+++ b/src/openvpn/mroute.c
@@ -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