$NetBSD: patch-aa,v 1.2 2011/12/26 03:11:10 joerg Exp $ * workaround for DragonFly arpa/telnet.h, telopts will not defined without TELOPTS (already defined in telnet/utilities.c) --- telnet/commands.c.orig 2010-01-17 18:00:03.000000000 +0000 +++ telnet/commands.c @@ -84,6 +84,9 @@ #include #include +#if defined(__DragonFly__) && !defined(TELOPTS) +extern const char *telopts[NTELOPTS+1]; +#endif #include "general.h" #include "ring.h"