summaryrefslogtreecommitdiff
path: root/openvpn/src/openvpn/syshead.h
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/src/openvpn/syshead.h')
-rw-r--r--openvpn/src/openvpn/syshead.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openvpn/src/openvpn/syshead.h b/openvpn/src/openvpn/syshead.h
index 0c3e4ee5..2be11159 100644
--- a/openvpn/src/openvpn/syshead.h
+++ b/openvpn/src/openvpn/syshead.h
@@ -720,6 +720,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