aboutsummaryrefslogtreecommitdiff
path: root/lib/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/telnet.c')
-rw-r--r--lib/telnet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index 5b6423fb7..e658a5e2d 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -23,6 +23,7 @@
#include "setup.h"
+#ifndef CURL_DISABLE_TELNET
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@@ -1211,3 +1212,4 @@ CURLcode Curl_telnet(struct connectdata *conn)
* vim600: fdm=marker
* vim: et sw=2 ts=2 sts=2 tw=78
*/
+#endif