blob: 72d8272b0f6eaa2ec0e0aa972313c351b23a70f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-aa,v 1.1 2010/12/30 09:22:43 obache 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 @@ __RCSID("$NetBSD: commands.c,v 1.1.1.1 2
#include <unistd.h>
#include <arpa/telnet.h>
+#if defined(__DragonFly__) && !defined(TELOPTS)
+extern const char *telopts[NTELOPTS+1];
+#endif
#include "general.h"
#include "ring.h"
|