summaryrefslogtreecommitdiffstats
path: root/src/openvpn/event.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/event.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/event.c')
-rw-r--r--src/openvpn/event.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openvpn/event.c b/src/openvpn/event.c
index b6ed673..2a13e1c 100644
--- a/src/openvpn/event.c
+++ b/src/openvpn/event.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"
#include "buffer.h"