summaryrefslogtreecommitdiffstats
path: root/src/openvpn/syshead.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn/syshead.h')
-rw-r--r--src/openvpn/syshead.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h
index db02c23..df6927d 100644
--- a/src/openvpn/syshead.h
+++ b/src/openvpn/syshead.h
@@ -713,6 +713,13 @@ socket_defined (const socket_descriptor_t sd)
#define ENABLE_CLIENT_NAT
/*
+ * Compression support
+ */
+#if defined(ENABLE_SNAPPY) || defined(ENABLE_LZO) || defined(ENABLE_COMP_STUB)
+#define USE_COMP
+#endif
+
+/*
* Enable --memstats option
*/
#ifdef TARGET_LINUX