$NetBSD: patch-ad,v 1.7 2013/05/18 20:23:03 adam Exp $ --- src/lftp_tinfo.cc.orig 2008-11-27 05:56:39.000000000 +0000 +++ src/lftp_tinfo.cc @@ -34,7 +34,8 @@ extern "C" { # elif defined(HAVE_TERM_H) # include # endif -#elif defined(HAVE_TERMCAP_H) +#endif +#if defined(HAVE_TERMCAP_H) # include #endif }