diff --git a/runopts.h b/runopts.h
index 062cfd893f4d242bff75987b670c6592e65e03ed..62c9bf1747fd89df14153284c97ab565f50f81b9 100644
--- a/runopts.h
+++ b/runopts.h
@@ -33,7 +33,8 @@
 
 typedef struct runopts {
 
-#if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD)
+#if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) \
+    || defined(ENABLE_CLI_REMOTETCPFWD)
 	int listen_fwd_all;
 #endif
 	unsigned int recv_window;