mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-24 04:03:34 -04:00
18 lines
476 B
Plaintext
18 lines
476 B
Plaintext
$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 <unistd.h>
|
|
|
|
#include <arpa/telnet.h>
|
|
+#if defined(__DragonFly__) && !defined(TELOPTS)
|
|
+extern const char *telopts[NTELOPTS+1];
|
|
+#endif
|
|
|
|
#include "general.h"
|
|
#include "ring.h"
|