diff --git a/appl/telnet/telnet/telnet_locl.h b/appl/telnet/telnet/telnet_locl.h index 7479da7d6..8365a69f6 100644 --- a/appl/telnet/telnet/telnet_locl.h +++ b/appl/telnet/telnet/telnet_locl.h @@ -63,7 +63,7 @@ /* termios.h *must* be included before curses.h */ #include -#ifdef HAVE_CURSES_H +#if defined(SOCKS) && defined(HAVE_CURSES_H) #include #endif